You are here

function course_perm in Course 6

Implements hook_perm().

Define permissions to take courses and edit course settings.

File

./course.module, line 630
course.module Core functionality for Courses.

Code

function course_perm() {
  return array(
    // Manage course settings
    'administer course',
    // Take courses
    'access course',
    // Edit course objects (not the node itself)
    'edit courses',
    // Can user get to the course reports area
    'access course reports',
    // Can use view all course reports
    'access all course reports',
  );
}