You are here

function node_kaltura_entry_access in Kaltura 6

Same name and namespace in other branches
  1. 5 plugins/node_kaltura_entry/node_kaltura_entry.module \node_kaltura_entry_access()
  2. 6.2 plugins/node_kaltura_entry/node_kaltura_entry.module \node_kaltura_entry_access()

File

plugins/node_kaltura_entry/node_kaltura_entry.module, line 24

Code

function node_kaltura_entry_access($op, $node, $account) {
  switch ($op) {
    case 'create':
      return user_access('create kaltura items', $account);
    case 'update':
      return user_access('edit kaltura items', $account);
    case 'delete':
      return user_access('delete kaltura items', $account);
  }
}