123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813 |
- <?php
- /**
- * @file
- * admin.features.user_permission.inc
- */
- /**
- * Implements hook_user_default_permissions().
- */
- function admin_user_default_permissions() {
- $permissions = array();
- // Exported permission: 'access admin theme'.
- $permissions['access admin theme'] = array(
- 'name' => 'access admin theme',
- 'roles' => array(
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'admin_theme',
- );
- // Exported permission: 'access administration menu'.
- $permissions['access administration menu'] = array(
- 'name' => 'access administration menu',
- 'roles' => array(
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'admin_menu',
- );
- // Exported permission: 'access administration pages'.
- $permissions['access administration pages'] = array(
- 'name' => 'access administration pages',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'system',
- );
- // Exported permission: 'access all views'.
- $permissions['access all views'] = array(
- 'name' => 'access all views',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'views',
- );
- // Exported permission: 'access content'.
- $permissions['access content'] = array(
- 'name' => 'access content',
- 'roles' => array(
- 'anonymous user' => 'anonymous user',
- 'authenticated user' => 'authenticated user',
- 'root' => 'root',
- ),
- 'module' => 'node',
- );
- // Exported permission: 'access content overview'.
- $permissions['access content overview'] = array(
- 'name' => 'access content overview',
- 'roles' => array(
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'node',
- );
- // Exported permission: 'access devel information'.
- $permissions['access devel information'] = array(
- 'name' => 'access devel information',
- 'roles' => array(
- 'administrator' => 'administrator',
- 'anonymous user' => 'anonymous user',
- 'authenticated user' => 'authenticated user',
- 'root' => 'root',
- ),
- 'module' => 'devel',
- );
- // Exported permission: 'access private fields'.
- $permissions['access private fields'] = array(
- 'name' => 'access private fields',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'field_permissions',
- );
- // Exported permission: 'access rules debug'.
- $permissions['access rules debug'] = array(
- 'name' => 'access rules debug',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'rules',
- );
- // Exported permission: 'access site in maintenance mode'.
- $permissions['access site in maintenance mode'] = array(
- 'name' => 'access site in maintenance mode',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'system',
- );
- // Exported permission: 'access site reports'.
- $permissions['access site reports'] = array(
- 'name' => 'access site reports',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'system',
- );
- // Exported permission: 'access user profiles'.
- $permissions['access user profiles'] = array(
- 'name' => 'access user profiles',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'user',
- );
- // Exported permission: 'access workflow summary views'.
- $permissions['access workflow summary views'] = array(
- 'name' => 'access workflow summary views',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'workflow_views',
- );
- // Exported permission: 'admin queue_ui'.
- $permissions['admin queue_ui'] = array(
- 'name' => 'admin queue_ui',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'queue_ui',
- );
- // Exported permission: 'administer actions'.
- $permissions['administer actions'] = array(
- 'name' => 'administer actions',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'system',
- );
- // Exported permission: 'administer blocks'.
- $permissions['administer blocks'] = array(
- 'name' => 'administer blocks',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'block',
- );
- // Exported permission: 'administer content type defaults'.
- $permissions['administer content type defaults'] = array(
- 'name' => 'administer content type defaults',
- 'roles' => array(),
- 'module' => 'content_type_extras',
- );
- // Exported permission: 'administer content types'.
- $permissions['administer content types'] = array(
- 'name' => 'administer content types',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'node',
- );
- // Exported permission: 'administer contexts'.
- $permissions['administer contexts'] = array(
- 'name' => 'administer contexts',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'context_ui',
- );
- // Exported permission: 'administer devel menu items'.
- $permissions['administer devel menu items'] = array(
- 'name' => 'administer devel menu items',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'menu_admin_per_menu',
- );
- // Exported permission: 'administer entity translation'.
- $permissions['administer entity translation'] = array(
- 'name' => 'administer entity translation',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'entity_translation',
- );
- // Exported permission: 'administer features'.
- $permissions['administer features'] = array(
- 'name' => 'administer features',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'features',
- );
- // Exported permission: 'administer features menu items'.
- $permissions['administer features menu items'] = array(
- 'name' => 'administer features menu items',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'menu_admin_per_menu',
- );
- // Exported permission: 'administer field permissions'.
- $permissions['administer field permissions'] = array(
- 'name' => 'administer field permissions',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'field_permissions',
- );
- // Exported permission: 'administer fieldgroups'.
- $permissions['administer fieldgroups'] = array(
- 'name' => 'administer fieldgroups',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'field_group',
- );
- // Exported permission: 'administer filters'.
- $permissions['administer filters'] = array(
- 'name' => 'administer filters',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'filter',
- );
- // Exported permission: 'administer image styles'.
- $permissions['administer image styles'] = array(
- 'name' => 'administer image styles',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'image',
- );
- // Exported permission: 'administer imce'.
- $permissions['administer imce'] = array(
- 'name' => 'administer imce',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'imce',
- );
- // Exported permission: 'administer languages'.
- $permissions['administer languages'] = array(
- 'name' => 'administer languages',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'locale',
- );
- // Exported permission: 'administer linkit'.
- $permissions['administer linkit'] = array(
- 'name' => 'administer linkit',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'linkit',
- );
- // Exported permission: 'administer main-menu menu items'.
- $permissions['administer main-menu menu items'] = array(
- 'name' => 'administer main-menu menu items',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'menu_admin_per_menu',
- );
- // Exported permission: 'administer management menu items'.
- $permissions['administer management menu items'] = array(
- 'name' => 'administer management menu items',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'menu_admin_per_menu',
- );
- // Exported permission: 'administer menu'.
- $permissions['administer menu'] = array(
- 'name' => 'administer menu',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'menu',
- );
- // Exported permission: 'administer module filter'.
- $permissions['administer module filter'] = array(
- 'name' => 'administer module filter',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'module_filter',
- );
- // Exported permission: 'administer modules'.
- $permissions['administer modules'] = array(
- 'name' => 'administer modules',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'system',
- );
- // Exported permission: 'administer navigation menu items'.
- $permissions['administer navigation menu items'] = array(
- 'name' => 'administer navigation menu items',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'menu_admin_per_menu',
- );
- // Exported permission: 'administer nodes'.
- $permissions['administer nodes'] = array(
- 'name' => 'administer nodes',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'node',
- );
- // Exported permission: 'administer page manager'.
- $permissions['administer page manager'] = array(
- 'name' => 'administer page manager',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'page_manager',
- );
- // Exported permission: 'administer pathauto'.
- $permissions['administer pathauto'] = array(
- 'name' => 'administer pathauto',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'pathauto',
- );
- // Exported permission: 'administer permissions'.
- $permissions['administer permissions'] = array(
- 'name' => 'administer permissions',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'user',
- );
- // Exported permission: 'administer redirects'.
- $permissions['administer redirects'] = array(
- 'name' => 'administer redirects',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'redirect',
- );
- // Exported permission: 'administer rules'.
- $permissions['administer rules'] = array(
- 'name' => 'administer rules',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'rules',
- );
- // Exported permission: 'administer shortcuts'.
- $permissions['administer shortcuts'] = array(
- 'name' => 'administer shortcuts',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'shortcut',
- );
- // Exported permission: 'administer site configuration'.
- $permissions['administer site configuration'] = array(
- 'name' => 'administer site configuration',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'system',
- );
- // Exported permission: 'administer software updates'.
- $permissions['administer software updates'] = array(
- 'name' => 'administer software updates',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'system',
- );
- // Exported permission: 'administer styles ui'.
- $permissions['administer styles ui'] = array(
- 'name' => 'administer styles ui',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'styles_ui',
- );
- // Exported permission: 'administer taxonomy'.
- $permissions['administer taxonomy'] = array(
- 'name' => 'administer taxonomy',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'taxonomy',
- );
- // Exported permission: 'administer themes'.
- $permissions['administer themes'] = array(
- 'name' => 'administer themes',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'system',
- );
- // Exported permission: 'administer url aliases'.
- $permissions['administer url aliases'] = array(
- 'name' => 'administer url aliases',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'path',
- );
- // Exported permission: 'administer user-menu menu items'.
- $permissions['administer user-menu menu items'] = array(
- 'name' => 'administer user-menu menu items',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'menu_admin_per_menu',
- );
- // Exported permission: 'administer users'.
- $permissions['administer users'] = array(
- 'name' => 'administer users',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'user',
- );
- // Exported permission: 'administer views'.
- $permissions['administer views'] = array(
- 'name' => 'administer views',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'views',
- );
- // Exported permission: 'administer workflow'.
- $permissions['administer workflow'] = array(
- 'name' => 'administer workflow',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'workflow_admin_ui',
- );
- // Exported permission: 'block IP addresses'.
- $permissions['block IP addresses'] = array(
- 'name' => 'block IP addresses',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'system',
- );
- // Exported permission: 'bypass node access'.
- $permissions['bypass node access'] = array(
- 'name' => 'bypass node access',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'node',
- );
- // Exported permission: 'bypass rules access'.
- $permissions['bypass rules access'] = array(
- 'name' => 'bypass rules access',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'rules',
- );
- // Exported permission: 'cancel account'.
- $permissions['cancel account'] = array(
- 'name' => 'cancel account',
- 'roles' => array(
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'user',
- );
- // Exported permission: 'change own username'.
- $permissions['change own username'] = array(
- 'name' => 'change own username',
- 'roles' => array(
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'user',
- );
- // Exported permission: 'create url aliases'.
- $permissions['create url aliases'] = array(
- 'name' => 'create url aliases',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'path',
- );
- // Exported permission: 'customize shortcut links'.
- $permissions['customize shortcut links'] = array(
- 'name' => 'customize shortcut links',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'shortcut',
- );
- // Exported permission: 'delete revisions'.
- $permissions['delete revisions'] = array(
- 'name' => 'delete revisions',
- 'roles' => array(
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'node',
- );
- // Exported permission: 'display drupal links'.
- $permissions['display drupal links'] = array(
- 'name' => 'display drupal links',
- 'roles' => array(
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'admin_menu',
- );
- // Exported permission: 'execute php code'.
- $permissions['execute php code'] = array(
- 'name' => 'execute php code',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'devel',
- );
- // Exported permission: 'flush caches'.
- $permissions['flush caches'] = array(
- 'name' => 'flush caches',
- 'roles' => array(
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'admin_menu',
- );
- // Exported permission: 'generate features'.
- $permissions['generate features'] = array(
- 'name' => 'generate features',
- 'roles' => array(),
- 'module' => 'features',
- );
- // Exported permission: 'manage features'.
- $permissions['manage features'] = array(
- 'name' => 'manage features',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'features',
- );
- // Exported permission: 'menu edit devel'.
- $permissions['menu edit devel'] = array(
- 'name' => 'menu edit devel',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'menu_editor',
- );
- // Exported permission: 'menu edit features'.
- $permissions['menu edit features'] = array(
- 'name' => 'menu edit features',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'menu_editor',
- );
- // Exported permission: 'menu edit main-menu'.
- $permissions['menu edit main-menu'] = array(
- 'name' => 'menu edit main-menu',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'menu_editor',
- );
- // Exported permission: 'menu edit management'.
- $permissions['menu edit management'] = array(
- 'name' => 'menu edit management',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'menu_editor',
- );
- // Exported permission: 'menu edit navigation'.
- $permissions['menu edit navigation'] = array(
- 'name' => 'menu edit navigation',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'menu_editor',
- );
- // Exported permission: 'menu edit user-menu'.
- $permissions['menu edit user-menu'] = array(
- 'name' => 'menu edit user-menu',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'menu_editor',
- );
- // Exported permission: 'notify of path changes'.
- $permissions['notify of path changes'] = array(
- 'name' => 'notify of path changes',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'pathauto',
- );
- // Exported permission: 'override content type title display'.
- $permissions['override content type title display'] = array(
- 'name' => 'override content type title display',
- 'roles' => array(),
- 'module' => 'content_type_extras',
- );
- // Exported permission: 'participate in workflow'.
- $permissions['participate in workflow'] = array(
- 'name' => 'participate in workflow',
- 'roles' => array(
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'workflow',
- );
- // Exported permission: 'rename features'.
- $permissions['rename features'] = array(
- 'name' => 'rename features',
- 'roles' => array(),
- 'module' => 'features',
- );
- // Exported permission: 'revert revisions'.
- $permissions['revert revisions'] = array(
- 'name' => 'revert revisions',
- 'roles' => array(
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'node',
- );
- // Exported permission: 'schedule workflow transitions'.
- $permissions['schedule workflow transitions'] = array(
- 'name' => 'schedule workflow transitions',
- 'roles' => array(
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'workflow',
- );
- // Exported permission: 'select account cancellation method'.
- $permissions['select account cancellation method'] = array(
- 'name' => 'select account cancellation method',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'user',
- );
- // Exported permission: 'show workflow state form'.
- $permissions['show workflow state form'] = array(
- 'name' => 'show workflow state form',
- 'roles' => array(),
- 'module' => 'workflow',
- );
- // Exported permission: 'switch shortcut sets'.
- $permissions['switch shortcut sets'] = array(
- 'name' => 'switch shortcut sets',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'shortcut',
- );
- // Exported permission: 'switch users'.
- $permissions['switch users'] = array(
- 'name' => 'switch users',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'devel',
- );
- // Exported permission: 'translate admin strings'.
- $permissions['translate admin strings'] = array(
- 'name' => 'translate admin strings',
- 'roles' => array(),
- 'module' => 'i18n_string',
- );
- // Exported permission: 'translate content'.
- $permissions['translate content'] = array(
- 'name' => 'translate content',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'translation',
- );
- // Exported permission: 'use text format filtred_html'.
- $permissions['use text format filtred_html'] = array(
- 'name' => 'use text format filtred_html',
- 'roles' => array(
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'filter',
- );
- // Exported permission: 'view own unpublished content'.
- $permissions['view own unpublished content'] = array(
- 'name' => 'view own unpublished content',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'node',
- );
- // Exported permission: 'view revisions'.
- $permissions['view revisions'] = array(
- 'name' => 'view revisions',
- 'roles' => array(
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'node',
- );
- // Exported permission: 'view the administration theme'.
- $permissions['view the administration theme'] = array(
- 'name' => 'view the administration theme',
- 'roles' => array(
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'system',
- );
- return $permissions;
- }
|