123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779 |
- <?php
- /**
- * @file
- * materio_administration.features.user_permission.inc
- */
- /**
- * Implements hook_user_default_permissions().
- */
- function materio_administration_user_default_permissions() {
- $permissions = array();
- // Exported permission: 'access admin theme'.
- $permissions['access admin theme'] = array(
- 'name' => 'access admin theme',
- 'roles' => array(
- 'Admin showroom' => 'Admin showroom',
- 'Translator' => 'Translator',
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'admin_theme',
- );
- // Exported permission: 'access administration menu'.
- $permissions['access administration menu'] = array(
- 'name' => 'access administration menu',
- 'roles' => array(
- 'Admin showroom' => 'Admin showroom',
- 'Translator' => 'Translator',
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'admin_menu',
- );
- // Exported permission: 'access content'.
- $permissions['access content'] = array(
- 'name' => 'access content',
- 'roles' => array(
- 'Adhérent' => 'Adhérent',
- 'Admin showroom' => 'Admin showroom',
- 'Contact opérationnel' => 'Contact opérationnel',
- 'Premium' => 'Premium',
- 'Student' => 'Student',
- 'Translator' => 'Translator',
- 'Unverified' => 'Unverified',
- 'Utilisateur' => 'Utilisateur',
- 'administrator' => 'administrator',
- 'anonymous user' => 'anonymous user',
- 'root' => 'root',
- ),
- 'module' => 'node',
- );
- // Exported permission: 'access content overview'.
- $permissions['access content overview'] = array(
- 'name' => 'access content overview',
- 'roles' => array(
- 'Translator' => 'Translator',
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'node',
- );
- // 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: 'access_translation_table_content_type'.
- $permissions['access_translation_table_content_type'] = array(
- 'name' => 'access_translation_table_content_type',
- 'roles' => array(
- 'Translator' => 'Translator',
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'materio_translator',
- );
- // Exported permission: 'access_translation_table_fields'.
- $permissions['access_translation_table_fields'] = array(
- 'name' => 'access_translation_table_fields',
- 'roles' => array(
- 'Translator' => 'Translator',
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'materio_translator',
- );
- // Exported permission: 'access_translation_table_menu'.
- $permissions['access_translation_table_menu'] = array(
- 'name' => 'access_translation_table_menu',
- 'roles' => array(
- 'Translator' => 'Translator',
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'materio_translator',
- );
- // Exported permission: 'access_translation_table_taxonomy'.
- $permissions['access_translation_table_taxonomy'] = array(
- 'name' => 'access_translation_table_taxonomy',
- 'roles' => array(
- 'Translator' => 'Translator',
- 'root' => 'root',
- ),
- 'module' => 'materio_translator',
- );
- // Exported permission: 'access_translations_overview'.
- $permissions['access_translations_overview'] = array(
- 'name' => 'access_translations_overview',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'materio_translator',
- );
- // Exported permission: 'administer content types'.
- $permissions['administer content types'] = array(
- 'name' => 'administer content types',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'node',
- );
- // Exported permission: 'administer entity translation'.
- $permissions['administer entity translation'] = array(
- 'name' => 'administer entity translation',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'entity_translation',
- );
- // Exported permission: 'administer login destination settings'.
- $permissions['administer login destination settings'] = array(
- 'name' => 'administer login destination settings',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'login_destination',
- );
- // Exported permission: 'administer nodes'.
- $permissions['administer nodes'] = array(
- 'name' => 'administer nodes',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'node',
- );
- // Exported permission: 'administer remove_duplicates'.
- $permissions['administer remove_duplicates'] = array(
- 'name' => 'administer remove_duplicates',
- 'roles' => array(
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'remove_duplicates',
- );
- // Exported permission: 'administer themes'.
- $permissions['administer themes'] = array(
- 'name' => 'administer themes',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'system',
- );
- // Exported permission: 'administer workflow'.
- $permissions['administer workflow'] = array(
- 'name' => 'administer workflow',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'workflow_admin_ui',
- );
- // Exported permission: 'assign Adhérent role'.
- $permissions['assign Adhérent role'] = array(
- 'name' => 'assign Adhérent role',
- 'roles' => array(
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'role_delegation',
- );
- // Exported permission: 'assign Contact opérationnel role'.
- $permissions['assign Contact opérationnel role'] = array(
- 'name' => 'assign Contact opérationnel role',
- 'roles' => array(
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'role_delegation',
- );
- // Exported permission: 'assign Premium role'.
- $permissions['assign Premium role'] = array(
- 'name' => 'assign Premium role',
- 'roles' => array(
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'role_delegation',
- );
- // Exported permission: 'assign Student role'.
- $permissions['assign Student role'] = array(
- 'name' => 'assign Student role',
- 'roles' => array(
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'role_delegation',
- );
- // Exported permission: 'assign Translator role'.
- $permissions['assign Translator role'] = array(
- 'name' => 'assign Translator role',
- 'roles' => array(
- 'administrator' => 'administrator',
- ),
- 'module' => 'role_delegation',
- );
- // Exported permission: 'assign Unverified role'.
- $permissions['assign Unverified role'] = array(
- 'name' => 'assign Unverified role',
- 'roles' => array(
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'role_delegation',
- );
- // Exported permission: 'assign Utilisateur Alpha Tester role'.
- $permissions['assign Utilisateur Alpha Tester role'] = array(
- 'name' => 'assign Utilisateur Alpha Tester role',
- 'roles' => array(
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'role_delegation',
- );
- // Exported permission: 'assign Utilisateur role'.
- $permissions['assign Utilisateur role'] = array(
- 'name' => 'assign Utilisateur role',
- 'roles' => array(
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'role_delegation',
- );
- // Exported permission: 'assign administrator role'.
- $permissions['assign administrator role'] = array(
- 'name' => 'assign administrator role',
- 'roles' => array(
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'role_delegation',
- );
- // Exported permission: 'assign all roles'.
- $permissions['assign all roles'] = array(
- 'name' => 'assign all roles',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'role_delegation',
- );
- // Exported permission: 'bypass node access'.
- $permissions['bypass node access'] = array(
- 'name' => 'bypass node access',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'node',
- );
- // Exported permission: 'create breve content'.
- $permissions['create breve content'] = array(
- 'name' => 'create breve content',
- 'roles' => array(
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'node',
- );
- // Exported permission: 'create looping_embed_video content'.
- $permissions['create looping_embed_video content'] = array(
- 'name' => 'create looping_embed_video content',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'node',
- );
- // Exported permission: 'create materiau content'.
- $permissions['create materiau content'] = array(
- 'name' => 'create materiau content',
- 'roles' => array(
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'node',
- );
- // Exported permission: 'delete any breve content'.
- $permissions['delete any breve content'] = array(
- 'name' => 'delete any breve content',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'node',
- );
- // Exported permission: 'delete any looping_embed_video content'.
- $permissions['delete any looping_embed_video content'] = array(
- 'name' => 'delete any looping_embed_video content',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'node',
- );
- // Exported permission: 'delete any materiau content'.
- $permissions['delete any materiau content'] = array(
- 'name' => 'delete any materiau content',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'node',
- );
- // Exported permission: 'delete own breve content'.
- $permissions['delete own breve content'] = array(
- 'name' => 'delete own breve content',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'node',
- );
- // Exported permission: 'delete own looping_embed_video content'.
- $permissions['delete own looping_embed_video content'] = array(
- 'name' => 'delete own looping_embed_video content',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'node',
- );
- // Exported permission: 'delete own materiau content'.
- $permissions['delete own materiau content'] = array(
- 'name' => 'delete own materiau content',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'node',
- );
- // 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(
- 'root' => 'root',
- ),
- 'module' => 'admin_menu',
- );
- // Exported permission: 'edit any breve content'.
- $permissions['edit any breve content'] = array(
- 'name' => 'edit any breve content',
- 'roles' => array(
- 'Translator' => 'Translator',
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'node',
- );
- // Exported permission: 'edit any looping_embed_video content'.
- $permissions['edit any looping_embed_video content'] = array(
- 'name' => 'edit any looping_embed_video content',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'node',
- );
- // Exported permission: 'edit any materiau content'.
- $permissions['edit any materiau content'] = array(
- 'name' => 'edit any materiau content',
- 'roles' => array(
- 'Admin showroom' => 'Admin showroom',
- 'Translator' => 'Translator',
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'node',
- );
- // Exported permission: 'edit node original values'.
- $permissions['edit node original values'] = array(
- 'name' => 'edit node original values',
- 'roles' => array(
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'entity_translation',
- );
- // Exported permission: 'edit node translation shared fields'.
- $permissions['edit node translation shared fields'] = array(
- 'name' => 'edit node translation shared fields',
- 'roles' => array(
- 'Admin showroom' => 'Admin showroom',
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'entity_translation',
- );
- // Exported permission: 'edit original values'.
- $permissions['edit original values'] = array(
- 'name' => 'edit original values',
- 'roles' => array(
- 'Admin showroom' => 'Admin showroom',
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'entity_translation',
- );
- // Exported permission: 'edit own breve content'.
- $permissions['edit own breve content'] = array(
- 'name' => 'edit own breve content',
- 'roles' => array(
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'node',
- );
- // Exported permission: 'edit own looping_embed_video content'.
- $permissions['edit own looping_embed_video content'] = array(
- 'name' => 'edit own looping_embed_video content',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'node',
- );
- // Exported permission: 'edit own materiau content'.
- $permissions['edit own materiau content'] = array(
- 'name' => 'edit own materiau content',
- 'roles' => array(
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'node',
- );
- // Exported permission: 'edit taxonomy_term original values'.
- $permissions['edit taxonomy_term original values'] = array(
- 'name' => 'edit taxonomy_term original values',
- 'roles' => array(
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'entity_translation',
- );
- // Exported permission: 'edit taxonomy_term translation shared fields'.
- $permissions['edit taxonomy_term translation shared fields'] = array(
- 'name' => 'edit taxonomy_term translation shared fields',
- 'roles' => array(
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'entity_translation',
- );
- // Exported permission: 'edit translation shared fields'.
- $permissions['edit translation shared fields'] = array(
- 'name' => 'edit translation shared fields',
- 'roles' => array(
- 'Admin showroom' => 'Admin showroom',
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'entity_translation',
- );
- // Exported permission: 'export_translations'.
- $permissions['export_translations'] = array(
- 'name' => 'export_translations',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'materio_translator',
- );
- // Exported permission: 'flush caches'.
- $permissions['flush caches'] = array(
- 'name' => 'flush caches',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'admin_menu',
- );
- // Exported permission: 'import_translations'.
- $permissions['import_translations'] = array(
- 'name' => 'import_translations',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'materio_translator',
- );
- // Exported permission: 'participate in workflow'.
- $permissions['participate in workflow'] = array(
- 'name' => 'participate in workflow',
- 'roles' => array(
- 'Adhérent' => 'Adhérent',
- 'Admin showroom' => 'Admin showroom',
- 'Contact opérationnel' => 'Contact opérationnel',
- 'Premium' => 'Premium',
- 'Student' => 'Student',
- 'Translator' => 'Translator',
- 'Unverified' => 'Unverified',
- 'Utilisateur' => 'Utilisateur',
- 'Utilisateur Alpha Tester' => 'Utilisateur Alpha Tester',
- 'administrator' => 'administrator',
- 'anonymous user' => 'anonymous user',
- 'authenticated user' => 'authenticated user',
- 'root' => 'root',
- ),
- 'module' => 'workflow_admin_ui',
- );
- // Exported permission: 'refresh_strings'.
- $permissions['refresh_strings'] = array(
- 'name' => 'refresh_strings',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'materio_translator',
- );
- // 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(
- 'root' => 'root',
- ),
- 'module' => 'workflow',
- );
- // Exported permission: 'select different theme'.
- $permissions['select different theme'] = array(
- 'name' => 'select different theme',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'admin',
- );
- // Exported permission: 'send newsletter'.
- $permissions['send newsletter'] = array(
- 'name' => 'send newsletter',
- 'roles' => array(
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'simplenews',
- );
- // Exported permission: 'show workflow state form'.
- $permissions['show workflow state form'] = array(
- 'name' => 'show workflow state form',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'workflow',
- );
- // Exported permission: 'subscribe to newsletters'.
- $permissions['subscribe to newsletters'] = array(
- 'name' => 'subscribe to newsletters',
- 'roles' => array(
- 'Adhérent' => 'Adhérent',
- 'Contact opérationnel' => 'Contact opérationnel',
- 'Premium' => 'Premium',
- 'Student' => 'Student',
- 'Utilisateur' => 'Utilisateur',
- 'administrator' => 'administrator',
- 'anonymous user' => 'anonymous user',
- 'root' => 'root',
- ),
- 'module' => 'simplenews',
- );
- // Exported permission: 'subscribe to simplenews category 6274'.
- $permissions['subscribe to simplenews category 6274'] = array(
- 'name' => 'subscribe to simplenews category 6274',
- 'roles' => array(
- 'anonymous user' => 'anonymous user',
- 'authenticated user' => 'authenticated user',
- ),
- 'module' => 'materio_user',
- );
- // Exported permission: 'toggle field translatability'.
- $permissions['toggle field translatability'] = array(
- 'name' => 'toggle field translatability',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'entity_translation',
- );
- // Exported permission: 'translate admin strings'.
- $permissions['translate admin strings'] = array(
- 'name' => 'translate admin strings',
- 'roles' => array(
- 'Translator' => 'Translator',
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'i18n_string',
- );
- // Exported permission: 'translate any entity'.
- $permissions['translate any entity'] = array(
- 'name' => 'translate any entity',
- 'roles' => array(
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'entity_translation',
- );
- // Exported permission: 'translate content'.
- $permissions['translate content'] = array(
- 'name' => 'translate content',
- 'roles' => array(
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'translation',
- );
- // Exported permission: 'translate node entities'.
- $permissions['translate node entities'] = array(
- 'name' => 'translate node entities',
- 'roles' => array(
- 'Translator' => 'Translator',
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'entity_translation',
- );
- // Exported permission: 'translate taxonomy_term entities'.
- $permissions['translate taxonomy_term entities'] = array(
- 'name' => 'translate taxonomy_term entities',
- 'roles' => array(
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'entity_translation',
- );
- // Exported permission: 'translate user-defined strings'.
- $permissions['translate user-defined strings'] = array(
- 'name' => 'translate user-defined strings',
- 'roles' => array(
- 'Translator' => 'Translator',
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'i18n_string',
- );
- // Exported permission: 'translate_strings'.
- $permissions['translate_strings'] = array(
- 'name' => 'translate_strings',
- 'roles' => array(
- 'Translator' => 'Translator',
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'materio_translator',
- );
- // Exported permission: 'update_modules_translations'.
- $permissions['update_modules_translations'] = array(
- 'name' => 'update_modules_translations',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'materio_translator',
- );
- // 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(
- 'Admin showroom' => 'Admin showroom',
- 'Translator' => 'Translator',
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'system',
- );
- return $permissions;
- }
|