123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164 |
- <?php
- /**
- * @file
- * materio_search.features.user_permission.inc
- */
- /**
- * Implements hook_user_default_permissions().
- */
- function materio_search_user_default_permissions() {
- $permissions = array();
- // Exported permission: 'administer materio_search_api'.
- $permissions['administer materio_search_api'] = array(
- 'name' => 'administer materio_search_api',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'materio_search_api',
- );
- // Exported permission: 'administer search_api'.
- $permissions['administer search_api'] = array(
- 'name' => 'administer search_api',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'search_api',
- );
- // Exported permission: 'administer search_api_saved_searches'.
- $permissions['administer search_api_saved_searches'] = array(
- 'name' => 'administer search_api_saved_searches',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'search_api_saved_searches',
- );
- // Exported permission: 'create field_used_on_advanced_search'.
- $permissions['create field_used_on_advanced_search'] = array(
- 'name' => 'create field_used_on_advanced_search',
- 'roles' => array(
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'field_permissions',
- );
- // Exported permission: 'edit field_used_on_advanced_search'.
- $permissions['edit field_used_on_advanced_search'] = array(
- 'name' => 'edit field_used_on_advanced_search',
- 'roles' => array(
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'field_permissions',
- );
- // Exported permission: 'edit own field_used_on_advanced_search'.
- $permissions['edit own field_used_on_advanced_search'] = array(
- 'name' => 'edit own field_used_on_advanced_search',
- 'roles' => array(
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'field_permissions',
- );
- // Exported permission: 'use materio search api'.
- $permissions['use materio search api'] = array(
- 'name' => 'use materio search api',
- 'roles' => array(
- 'Adhérent' => 'Adhérent',
- 'Premium' => 'Premium',
- 'Student' => 'Student',
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'materio_search_api',
- );
- // Exported permission: 'use materio search api autocomplete'.
- $permissions['use materio search api autocomplete'] = array(
- 'name' => 'use materio search api autocomplete',
- 'roles' => array(
- 'Adhérent' => 'Adhérent',
- 'Premium' => 'Premium',
- 'Student' => 'Student',
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'materio_search_api',
- );
- // Exported permission: 'use materio search api filters'.
- $permissions['use materio search api filters'] = array(
- 'name' => 'use materio search api filters',
- 'roles' => array(
- 'Adhérent' => 'Adhérent',
- 'Premium' => 'Premium',
- 'Student' => 'Student',
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'materio_search_api',
- );
- // Exported permission: 'use materio search api for breves'.
- $permissions['use materio search api for breves'] = array(
- 'name' => 'use materio search api for breves',
- 'roles' => array(
- 'Unverified' => 'Unverified',
- 'Utilisateur' => 'Utilisateur',
- ),
- 'module' => 'materio_search_api',
- );
- // Exported permission: 'use materio search api viewmode selection'.
- $permissions['use materio search api viewmode selection'] = array(
- 'name' => 'use materio search api viewmode selection',
- 'roles' => array(
- 'Adhérent' => 'Adhérent',
- 'Premium' => 'Premium',
- 'Student' => 'Student',
- 'Unverified' => 'Unverified',
- 'Utilisateur' => 'Utilisateur',
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'materio_search_api',
- );
- // Exported permission: 'use search_api_saved_searches'.
- $permissions['use search_api_saved_searches'] = array(
- 'name' => 'use search_api_saved_searches',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'search_api_saved_searches',
- );
- // Exported permission: 'view field_used_on_advanced_search'.
- $permissions['view field_used_on_advanced_search'] = array(
- 'name' => 'view field_used_on_advanced_search',
- 'roles' => array(
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'field_permissions',
- );
- // Exported permission: 'view own field_used_on_advanced_search'.
- $permissions['view own field_used_on_advanced_search'] = array(
- 'name' => 'view own field_used_on_advanced_search',
- 'roles' => array(
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'field_permissions',
- );
- return $permissions;
- }
|