You are here

function video_perm in Video 6

Same name and namespace in other branches
  1. 5 video.module \video_perm()
  2. 6.5 video.module \video_perm()
  3. 6.2 video.module \video_perm()
  4. 6.3 video.module \video_perm()
  5. 6.4 video.module \video_perm()

Permissions hook

Return value

array of permissions

File

./video.module, line 212
video.module

Code

function video_perm() {
  $array = array(
    'create video',
    'access video',
    'administer video',
    'play video',
    'download video',
    'view play counter',
    'view download counter',
    'edit own video',
    'edit all video nodes',
  );
  return $array;
}