You are here

function kaltura_playlist_access in Kaltura 6

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

File

plugins/kaltura_playlist/kaltura_playlist.module, line 31

Code

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