View source
<?php
function opigno_features_roles_user_default_permissions() {
$permissions = array();
$permissions['Edit global presets'] = array(
'name' => 'Edit global presets',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'scale',
);
$permissions['access PDF version'] = array(
'name' => 'access PDF version',
'roles' => array(),
'module' => 'print_pdf',
);
$permissions['access administration menu'] = array(
'name' => 'access administration menu',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'admin_menu',
);
$permissions['access administration pages'] = array(
'name' => 'access administration pages',
'roles' => array(
'administrator' => 'administrator',
'forum administrator' => 'forum administrator',
'student manager' => 'student manager',
),
'module' => 'system',
);
$permissions['assign certificates'] = array(
'name' => 'assign certificates',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'certificate',
);
$permissions['access all views'] = array(
'name' => 'access all views',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'views',
);
$permissions['access class results'] = array(
'name' => 'access class results',
'roles' => array(
'administrator' => 'administrator',
'student manager' => 'student manager',
),
'module' => 'opigno_class_app',
);
$permissions['access comments'] = array(
'name' => 'access comments',
'roles' => array(
'administrator' => 'administrator',
'authenticated user' => 'authenticated user',
),
'module' => 'comment',
);
$permissions['access content'] = array(
'name' => 'access content',
'roles' => array(
'administrator' => 'administrator',
'anonymous user' => 'anonymous user',
'authenticated user' => 'authenticated user',
'forum administrator' => 'forum administrator',
'student manager' => 'student manager',
),
'module' => 'node',
);
$permissions['access content overview'] = array(
'name' => 'access content overview',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['access contextual links'] = array(
'name' => 'access contextual links',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'contextual',
);
$permissions['access opigno administration pages'] = array(
'name' => 'access opigno administration pages',
'roles' => array(
'administrator' => 'administrator',
'forum administrator' => 'forum administrator',
'student manager' => 'student manager',
),
'module' => 'opigno',
);
$permissions['access opigno statistics pages'] = array(
'name' => 'access opigno statistics pages',
'roles' => array(
'administrator' => 'administrator',
'student manager' => 'student manager',
),
'module' => 'opigno',
);
$permissions['access print'] = array(
'name' => 'access print',
'roles' => array(),
'module' => 'print',
);
$permissions['access quiz'] = array(
'name' => 'access quiz',
'roles' => array(
'administrator' => 'administrator',
'authenticated user' => 'authenticated user',
),
'module' => 'quiz',
);
$permissions['access rules debug'] = array(
'name' => 'access rules debug',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'rules',
);
$permissions['access site in maintenance mode'] = array(
'name' => 'access site in maintenance mode',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'system',
);
$permissions['access site reports'] = array(
'name' => 'access site reports',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'system',
);
$permissions['access own results'] = array(
'name' => 'access own results',
'roles' => array(
'authenticated user' => 'authenticated user',
),
'module' => 'opigno_quiz_app',
);
$permissions['access all results'] = array(
'name' => 'access all results',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'opigno_quiz_app',
);
$permissions['access teacher results'] = array(
'name' => 'access teacher results',
'roles' => array(
'administrator' => 'administrator',
'student manager' => 'student manager',
),
'module' => 'opigno_quiz_app',
);
$permissions['access user profiles'] = array(
'name' => 'access user profiles',
'roles' => array(
'authenticated user' => 'authenticated user',
),
'module' => 'user',
);
$permissions['administer actions'] = array(
'name' => 'administer actions',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'system',
);
$permissions['administer advanced forum'] = array(
'name' => 'administer advanced forum',
'roles' => array(
'administrator' => 'administrator',
'forum administrator' => 'forum administrator',
),
'module' => 'advanced_forum',
);
$permissions['administer apps'] = array(
'name' => 'administer apps',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'apps',
);
$permissions['administer blocks'] = array(
'name' => 'administer blocks',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'block',
);
$permissions['administer certificates'] = array(
'name' => 'administer certificates',
'roles' => array(
'administrator' => 'administrator',
'student manager' => 'student manager',
),
'module' => 'certificate',
);
$permissions['administer comments'] = array(
'name' => 'administer comments',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'comment',
);
$permissions['administer content types'] = array(
'name' => 'administer content types',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['administer crumbs'] = array(
'name' => 'administer crumbs',
'roles' => array(),
'module' => 'crumbs',
);
$permissions['administer default config'] = array(
'name' => 'administer default config',
'roles' => array(),
'module' => 'defaultconfig',
);
$permissions['administer features'] = array(
'name' => 'administer features',
'roles' => array(),
'module' => 'features',
);
$permissions['administer fieldgroups'] = array(
'name' => 'administer fieldgroups',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'field_group',
);
$permissions['administer filters'] = array(
'name' => 'administer filters',
'roles' => array(),
'module' => 'filter',
);
$permissions['administer forums'] = array(
'name' => 'administer forums',
'roles' => array(
'administrator' => 'administrator',
'forum administrator' => 'forum administrator',
),
'module' => 'forum',
);
$permissions['administer group'] = array(
'name' => 'administer group',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'og',
);
$permissions['administer homebox'] = array(
'name' => 'administer homebox',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'homebox',
);
$permissions['administer image styles'] = array(
'name' => 'administer image styles',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'image',
);
$permissions['administer languages'] = array(
'name' => 'administer languages',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'locale',
);
$permissions['administer menu'] = array(
'name' => 'administer menu',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'menu',
);
$permissions['administer module filter'] = array(
'name' => 'administer module filter',
'roles' => array(),
'module' => 'module_filter',
);
$permissions['administer modules'] = array(
'name' => 'administer modules',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'system',
);
$permissions['administer nodes'] = array(
'name' => 'administer nodes',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['administer page manager'] = array(
'name' => 'administer page manager',
'roles' => array(),
'module' => 'page_manager',
);
$permissions['administer pathauto'] = array(
'name' => 'administer pathauto',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'pathauto',
);
$permissions['administer permissions'] = array(
'name' => 'administer permissions',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'user',
);
$permissions['administer phpexcel'] = array(
'name' => 'administer phpexcel',
'roles' => array(),
'module' => 'phpexcel',
);
$permissions['administer print'] = array(
'name' => 'administer print',
'roles' => array(),
'module' => 'print',
);
$permissions['administer privatemsg settings'] = array(
'name' => 'administer privatemsg settings',
'roles' => array(),
'module' => 'privatemsg',
);
$permissions['administer quiz configuration'] = array(
'name' => 'administer quiz configuration',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'quiz',
);
$permissions['administer rules'] = array(
'name' => 'administer rules',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'rules',
);
$permissions['administer search'] = array(
'name' => 'administer search',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'search',
);
$permissions['administer site configuration'] = array(
'name' => 'administer site configuration',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'system',
);
$permissions['administer software updates'] = array(
'name' => 'administer software updates',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'system',
);
$permissions['administer taxonomy'] = array(
'name' => 'administer taxonomy',
'roles' => array(
'administrator' => 'administrator',
'forum administrator' => 'forum administrator',
),
'module' => 'taxonomy',
);
$permissions['administer themes'] = array(
'name' => 'administer themes',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'system',
);
$permissions['administer url aliases'] = array(
'name' => 'administer url aliases',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'path',
);
$permissions['administer users'] = array(
'name' => 'administer users',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'user',
);
$permissions['administer views'] = array(
'name' => 'administer views',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'views',
);
$permissions['administer wysiwyg templates'] = array(
'name' => 'administer wysiwyg templates',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'wysiwyg_template',
);
$permissions['allow disabling privatemsg'] = array(
'name' => 'allow disabling privatemsg',
'roles' => array(
'authenticated user' => 'authenticated user',
),
'module' => 'privatemsg',
);
$permissions['assign any action to quiz events'] = array(
'name' => 'assign any action to quiz events',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'quiz',
);
$permissions['block IP addresses'] = array(
'name' => 'block IP addresses',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'system',
);
$permissions['bypass node access'] = array(
'name' => 'bypass node access',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['bypass rules access'] = array(
'name' => 'bypass rules access',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'rules',
);
$permissions['cancel account'] = array(
'name' => 'cancel account',
'roles' => array(
'authenticated user' => 'authenticated user',
),
'module' => 'user',
);
$permissions['cancel own vote'] = array(
'name' => 'cancel own vote',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'poll',
);
$permissions['change own username'] = array(
'name' => 'change own username',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'user',
);
$permissions['configure moxtra'] = array(
'name' => 'configure moxtra',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'opigno_moxtra_app',
);
$permissions['create calendar_event content'] = array(
'name' => 'create calendar_event content',
'roles' => array(
'administrator' => 'administrator',
'student manager' => 'student manager',
),
'module' => 'node',
);
$permissions['create certificate content'] = array(
'name' => 'create certificate content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['create class content'] = array(
'name' => 'create class content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['create course content'] = array(
'name' => 'create course content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['create forum content'] = array(
'name' => 'create forum content',
'roles' => array(
'administrator' => 'administrator',
'authenticated user' => 'authenticated user',
'forum administrator' => 'forum administrator',
),
'module' => 'node',
);
$permissions['create long_answer content'] = array(
'name' => 'create long_answer content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['create matching content'] = array(
'name' => 'create matching content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['create multichoice content'] = array(
'name' => 'create multichoice content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['create notification content'] = array(
'name' => 'create notification content',
'roles' => array(
'administrator' => 'administrator',
'student manager' => 'student manager',
),
'module' => 'node',
);
$permissions['create poll content'] = array(
'name' => 'create poll content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['create quiz content'] = array(
'name' => 'create quiz content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['create quiz_ddlines content'] = array(
'name' => 'create quiz_ddlines content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['create quiz_directions content'] = array(
'name' => 'create quiz_directions content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['create scale content'] = array(
'name' => 'create scale content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['create short_answer content'] = array(
'name' => 'create short_answer content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['create tft_file content'] = array(
'name' => 'create tft_file content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['create truefalse content'] = array(
'name' => 'create truefalse content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['create url aliases'] = array(
'name' => 'create url aliases',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'path',
);
$permissions['delete any calendar_event content'] = array(
'name' => 'delete any calendar_event content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['delete any certificate content'] = array(
'name' => 'delete any certificate content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['delete any class content'] = array(
'name' => 'delete any class content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['delete any course content'] = array(
'name' => 'delete any course content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['delete any forum content'] = array(
'name' => 'delete any forum content',
'roles' => array(
'administrator' => 'administrator',
'forum administrator' => 'forum administrator',
),
'module' => 'node',
);
$permissions['delete any long_answer content'] = array(
'name' => 'delete any long_answer content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['delete any matching content'] = array(
'name' => 'delete any matching content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['delete any multichoice content'] = array(
'name' => 'delete any multichoice content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['delete any notification content'] = array(
'name' => 'delete any notification content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['delete any poll content'] = array(
'name' => 'delete any poll content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['delete any quiz content'] = array(
'name' => 'delete any quiz content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['delete any quiz results'] = array(
'name' => 'delete any quiz results',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'quiz',
);
$permissions['delete any quiz_ddlines content'] = array(
'name' => 'delete any quiz_ddlines content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['delete any quiz_directions content'] = array(
'name' => 'delete any quiz_directions content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['delete any scale content'] = array(
'name' => 'delete any scale content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['delete any short_answer content'] = array(
'name' => 'delete any short_answer content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['delete any tft_file content'] = array(
'name' => 'delete any tft_file content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['delete any truefalse content'] = array(
'name' => 'delete any truefalse content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['delete own calendar_event content'] = array(
'name' => 'delete own calendar_event content',
'roles' => array(
'administrator' => 'administrator',
'student manager' => 'student manager',
),
'module' => 'node',
);
$permissions['delete own certificate content'] = array(
'name' => 'delete own certificate content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['delete own class content'] = array(
'name' => 'delete own class content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['delete own course content'] = array(
'name' => 'delete own course content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['delete own forum content'] = array(
'name' => 'delete own forum content',
'roles' => array(
'administrator' => 'administrator',
'forum administrator' => 'forum administrator',
),
'module' => 'node',
);
$permissions['delete own long_answer content'] = array(
'name' => 'delete own long_answer content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['delete own matching content'] = array(
'name' => 'delete own matching content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['delete own multichoice content'] = array(
'name' => 'delete own multichoice content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['delete own notification content'] = array(
'name' => 'delete own notification content',
'roles' => array(
'administrator' => 'administrator',
'student manager' => 'student manager',
),
'module' => 'node',
);
$permissions['delete own poll content'] = array(
'name' => 'delete own poll content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['delete own quiz content'] = array(
'name' => 'delete own quiz content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['delete own quiz_ddlines content'] = array(
'name' => 'delete own quiz_ddlines content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['delete own quiz_directions content'] = array(
'name' => 'delete own quiz_directions content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['delete own scale content'] = array(
'name' => 'delete own scale content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['delete own short_answer content'] = array(
'name' => 'delete own short_answer content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['delete own tft_file content'] = array(
'name' => 'delete own tft_file content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['delete own truefalse content'] = array(
'name' => 'delete own truefalse content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['delete privatemsg'] = array(
'name' => 'delete privatemsg',
'roles' => array(
'authenticated user' => 'authenticated user',
),
'module' => 'privatemsg',
);
$permissions['delete results for own quiz'] = array(
'name' => 'delete results for own quiz',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'quiz',
);
$permissions['delete revisions'] = array(
'name' => 'delete revisions',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['delete terms in course_categories'] = array(
'name' => 'delete terms in course_categories',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'taxonomy',
);
$permissions['delete terms in forums'] = array(
'name' => 'delete terms in forums',
'roles' => array(
'administrator' => 'administrator',
'forum administrator' => 'forum administrator',
),
'module' => 'taxonomy',
);
$permissions['delete terms in tft_tree'] = array(
'name' => 'delete terms in tft_tree',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'taxonomy',
);
$permissions['display drupal links'] = array(
'name' => 'display drupal links',
'roles' => array(),
'module' => 'admin_menu',
);
$permissions['edit any calendar_event content'] = array(
'name' => 'edit any calendar_event content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['edit any certificate content'] = array(
'name' => 'edit any certificate content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['edit any class content'] = array(
'name' => 'edit any class content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['edit any course content'] = array(
'name' => 'edit any course content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['edit any forum content'] = array(
'name' => 'edit any forum content',
'roles' => array(
'administrator' => 'administrator',
'forum administrator' => 'forum administrator',
),
'module' => 'node',
);
$permissions['edit any long_answer content'] = array(
'name' => 'edit any long_answer content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['edit any matching content'] = array(
'name' => 'edit any matching content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['edit any multichoice content'] = array(
'name' => 'edit any multichoice content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['edit any notification content'] = array(
'name' => 'edit any notification content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['edit any poll content'] = array(
'name' => 'edit any poll content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['edit any quiz content'] = array(
'name' => 'edit any quiz content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['edit any quiz_ddlines content'] = array(
'name' => 'edit any quiz_ddlines content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['edit any quiz_directions content'] = array(
'name' => 'edit any quiz_directions content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['edit any scale content'] = array(
'name' => 'edit any scale content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['edit any short_answer content'] = array(
'name' => 'edit any short_answer content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['edit any tft_file content'] = array(
'name' => 'edit any tft_file content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['edit any truefalse content'] = array(
'name' => 'edit any truefalse content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['edit own calendar_event content'] = array(
'name' => 'edit own calendar_event content',
'roles' => array(
'administrator' => 'administrator',
'authenticated user' => 'authenticated user',
),
'module' => 'node',
);
$permissions['edit own certificate content'] = array(
'name' => 'edit own certificate content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['edit own class content'] = array(
'name' => 'edit own class content',
'roles' => array(
'administrator' => 'administrator',
'authenticated user' => 'authenticated user',
),
'module' => 'node',
);
$permissions['edit own comments'] = array(
'name' => 'edit own comments',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'comment',
);
$permissions['edit own course content'] = array(
'name' => 'edit own course content',
'roles' => array(
'administrator' => 'administrator',
'authenticated user' => 'authenticated user',
),
'module' => 'node',
);
$permissions['edit own forum content'] = array(
'name' => 'edit own forum content',
'roles' => array(
'administrator' => 'administrator',
'authenticated user' => 'authenticated user',
),
'module' => 'node',
);
$permissions['edit own long_answer content'] = array(
'name' => 'edit own long_answer content',
'roles' => array(
'administrator' => 'administrator',
'authenticated user' => 'authenticated user',
),
'module' => 'node',
);
$permissions['edit own matching content'] = array(
'name' => 'edit own matching content',
'roles' => array(
'administrator' => 'administrator',
'authenticated user' => 'authenticated user',
),
'module' => 'node',
);
$permissions['edit own multichoice content'] = array(
'name' => 'edit own multichoice content',
'roles' => array(
'administrator' => 'administrator',
'authenticated user' => 'authenticated user',
),
'module' => 'node',
);
$permissions['edit own notification content'] = array(
'name' => 'edit own notification content',
'roles' => array(
'administrator' => 'administrator',
'authenticated user' => 'authenticated user',
),
'module' => 'node',
);
$permissions['edit own poll content'] = array(
'name' => 'edit own poll content',
'roles' => array(
'administrator' => 'administrator',
'authenticated user' => 'authenticated user',
),
'module' => 'node',
);
$permissions['edit own quiz content'] = array(
'name' => 'edit own quiz content',
'roles' => array(
'administrator' => 'administrator',
'authenticated user' => 'authenticated user',
),
'module' => 'node',
);
$permissions['edit own quiz_ddlines content'] = array(
'name' => 'edit own quiz_ddlines content',
'roles' => array(
'administrator' => 'administrator',
'authenticated user' => 'authenticated user',
),
'module' => 'node',
);
$permissions['edit own quiz_directions content'] = array(
'name' => 'edit own quiz_directions content',
'roles' => array(
'administrator' => 'administrator',
'authenticated user' => 'authenticated user',
),
'module' => 'node',
);
$permissions['edit own scale content'] = array(
'name' => 'edit own scale content',
'roles' => array(
'administrator' => 'administrator',
'authenticated user' => 'authenticated user',
),
'module' => 'node',
);
$permissions['edit own short_answer content'] = array(
'name' => 'edit own short_answer content',
'roles' => array(
'administrator' => 'administrator',
'authenticated user' => 'authenticated user',
),
'module' => 'node',
);
$permissions['edit own tft_file content'] = array(
'name' => 'edit own tft_file content',
'roles' => array(
'administrator' => 'administrator',
'authenticated user' => 'authenticated user',
),
'module' => 'node',
);
$permissions['edit own truefalse content'] = array(
'name' => 'edit own truefalse content',
'roles' => array(
'administrator' => 'administrator',
'authenticated user' => 'authenticated user',
),
'module' => 'node',
);
$permissions['edit question titles'] = array(
'name' => 'edit question titles',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'quiz',
);
$permissions['edit terms in course_categories'] = array(
'name' => 'edit terms in course_categories',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'taxonomy',
);
$permissions['edit terms in forums'] = array(
'name' => 'edit terms in forums',
'roles' => array(
'administrator' => 'administrator',
'forum administrator' => 'forum administrator',
),
'module' => 'taxonomy',
);
$permissions['edit terms in tft_tree'] = array(
'name' => 'edit terms in tft_tree',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'taxonomy',
);
$permissions['flush caches'] = array(
'name' => 'flush caches',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'admin_menu',
);
$permissions['generate features'] = array(
'name' => 'generate features',
'roles' => array(),
'module' => 'features',
);
$permissions['import quiz questions xls'] = array(
'name' => 'import quiz questions xls',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'opigno_quiz_import_app',
);
$permissions['import wysiwyg templates'] = array(
'name' => 'import wysiwyg templates',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'wysiwyg_template',
);
$permissions['inspect all votes'] = array(
'name' => 'inspect all votes',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'poll',
);
$permissions['manage features'] = array(
'name' => 'manage features',
'roles' => array(),
'module' => 'features',
);
$permissions['manual quiz revisioning'] = array(
'name' => 'manual quiz revisioning',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'quiz',
);
$permissions['mass add and create users'] = array(
'name' => 'mass add and create users',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'og_massadd',
);
$permissions['message all groups'] = array(
'name' => 'message all groups',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'opigno_messaging_app',
);
$permissions['message anyone regardless of groups'] = array(
'name' => 'message anyone regardless of groups',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'opigno_messaging_app',
);
$permissions['notify everyone'] = array(
'name' => 'notify everyone',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'opigno_notifications_app',
);
$permissions['notify of path changes'] = array(
'name' => 'notify of path changes',
'roles' => array(),
'module' => 'pathauto',
);
$permissions['post comments'] = array(
'name' => 'post comments',
'roles' => array(
'administrator' => 'administrator',
'authenticated user' => 'authenticated user',
),
'module' => 'comment',
);
$permissions['read all private messages'] = array(
'name' => 'read all private messages',
'roles' => array(),
'module' => 'privatemsg',
);
$permissions['read privatemsg'] = array(
'name' => 'read privatemsg',
'roles' => array(
'authenticated user' => 'authenticated user',
),
'module' => 'privatemsg',
);
$permissions['reply only privatemsg'] = array(
'name' => 'reply only privatemsg',
'roles' => array(
'authenticated user' => 'authenticated user',
),
'module' => 'privatemsg',
);
$permissions['revert revisions'] = array(
'name' => 'revert revisions',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['score any quiz'] = array(
'name' => 'score any quiz',
'roles' => array(
'administrator' => 'administrator',
'student manager' => 'student manager',
),
'module' => 'quiz',
);
$permissions['score own quiz'] = array(
'name' => 'score own quiz',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'quiz',
);
$permissions['score taken quiz answer'] = array(
'name' => 'score taken quiz answer',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'quiz',
);
$permissions['search content'] = array(
'name' => 'search content',
'roles' => array(
'administrator' => 'administrator',
'anonymous user' => 'anonymous user',
'authenticated user' => 'authenticated user',
),
'module' => 'search',
);
$permissions['select account cancellation method'] = array(
'name' => 'select account cancellation method',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'user',
);
$permissions['select text format for privatemsg'] = array(
'name' => 'select text format for privatemsg',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'privatemsg',
);
$permissions['skip comment approval'] = array(
'name' => 'skip comment approval',
'roles' => array(
'administrator' => 'administrator',
'authenticated user' => 'authenticated user',
),
'module' => 'comment',
);
$permissions['tft add a file to any term'] = array(
'name' => 'tft add a file to any term',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'tft',
);
$permissions['tft add child terms'] = array(
'name' => 'tft add child terms',
'roles' => array(
'administrator' => 'administrator',
'student manager' => 'student manager',
),
'module' => 'tft',
);
$permissions['tft archive child terms'] = array(
'name' => 'tft archive child terms',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'tft',
);
$permissions['tft delete child terms'] = array(
'name' => 'tft delete child terms',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'tft',
);
$permissions['tft reorder terms'] = array(
'name' => 'tft reorder terms',
'roles' => array(
'administrator' => 'administrator',
'student manager' => 'student manager',
),
'module' => 'tft',
);
$permissions['translate admin strings'] = array(
'name' => 'translate admin strings',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'i18n_string',
);
$permissions['translate interface'] = array(
'name' => 'translate interface',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'locale',
);
$permissions['translate user-defined strings'] = array(
'name' => 'translate user-defined strings',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'i18n_string',
);
$permissions['use Rules component rules_og_massadd'] = array(
'name' => 'use Rules component rules_og_massadd',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'rules',
);
$permissions['use advanced search'] = array(
'name' => 'use advanced search',
'roles' => array(
'authenticated user' => 'authenticated user',
),
'module' => 'search',
);
$permissions['use page manager'] = array(
'name' => 'use page manager',
'roles' => array(),
'module' => 'page_manager',
);
$permissions['use regex for short answer'] = array(
'name' => 'use regex for short answer',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'short_answer',
);
$permissions['use text format html'] = array(
'name' => 'use text format html',
'roles' => array(
'authenticated user' => 'authenticated user',
),
'module' => 'filter',
);
$permissions['use tokens in privatemsg'] = array(
'name' => 'use tokens in privatemsg',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'privatemsg',
);
$permissions['view all user certificates'] = array(
'name' => 'view all user certificates',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'certificate',
);
$permissions['view any quiz question correct response'] = array(
'name' => 'view any quiz question correct response',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'quiz',
);
$permissions['view any quiz results'] = array(
'name' => 'view any quiz results',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'quiz',
);
$permissions['view forum statistics'] = array(
'name' => 'view forum statistics',
'roles' => array(
'administrator' => 'administrator',
'forum administrator' => 'forum administrator',
),
'module' => 'advanced_forum',
);
$permissions['view last edited notice'] = array(
'name' => 'view last edited notice',
'roles' => array(
'administrator' => 'administrator',
'forum administrator' => 'forum administrator',
),
'module' => 'advanced_forum',
);
$permissions['view own quiz results'] = array(
'name' => 'view own quiz results',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'quiz',
);
$permissions['view own unpublished content'] = array(
'name' => 'view own unpublished content',
'roles' => array(
'administrator' => 'administrator',
'authenticated user' => 'authenticated user',
),
'module' => 'node',
);
$permissions['view quiz question outside of a quiz'] = array(
'name' => 'view quiz question outside of a quiz',
'roles' => array(
'administrator' => 'administrator',
'student manager' => 'student manager',
),
'module' => 'quiz',
);
$permissions['view results for own quiz'] = array(
'name' => 'view results for own quiz',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'quiz',
);
$permissions['view revisions'] = array(
'name' => 'view revisions',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['view the administration theme'] = array(
'name' => 'view the administration theme',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'system',
);
$permissions['vote on polls'] = array(
'name' => 'vote on polls',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'poll',
);
$permissions['write privatemsg'] = array(
'name' => 'write privatemsg',
'roles' => array(
'authenticated user' => 'authenticated user',
),
'module' => 'privatemsg',
);
return $permissions;
}