123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202 |
- <?php
- /**
- * @file
- * mailing.features.user_permission.inc
- */
- /**
- * Implements hook_user_default_permissions().
- */
- function mailing_user_default_permissions() {
- $permissions = array();
- // Exported permission: 'administer mailgun'.
- $permissions['administer mailgun'] = array(
- 'name' => 'administer mailgun',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'mailgun',
- );
- // Exported permission: 'administer newsletters'.
- $permissions['administer newsletters'] = array(
- 'name' => 'administer newsletters',
- 'roles' => array(
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'simplenews',
- );
- // Exported permission: 'administer simplenews settings'.
- $permissions['administer simplenews settings'] = array(
- 'name' => 'administer simplenews settings',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'simplenews',
- );
- // Exported permission: 'administer simplenews subscriptions'.
- $permissions['administer simplenews subscriptions'] = array(
- 'name' => 'administer simplenews subscriptions',
- 'roles' => array(
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'simplenews',
- );
- // Exported permission: 'create simplenews content'.
- $permissions['create simplenews content'] = array(
- 'name' => 'create simplenews content',
- 'roles' => array(
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'node',
- );
- // Exported permission: 'delete any simplenews content'.
- $permissions['delete any simplenews content'] = array(
- 'name' => 'delete any simplenews content',
- 'roles' => array(
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'node',
- );
- // Exported permission: 'delete own simplenews content'.
- $permissions['delete own simplenews content'] = array(
- 'name' => 'delete own simplenews content',
- 'roles' => array(
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'node',
- );
- // Exported permission: 'edit any simplenews content'.
- $permissions['edit any simplenews content'] = array(
- 'name' => 'edit any simplenews content',
- 'roles' => array(
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'node',
- );
- // Exported permission: 'edit own simplenews content'.
- $permissions['edit own simplenews content'] = array(
- 'name' => 'edit own simplenews content',
- 'roles' => array(
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'node',
- );
- // Exported permission: 'enter simplenews revision log entry'.
- $permissions['enter simplenews revision log entry'] = array(
- 'name' => 'enter simplenews revision log entry',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'override_node_options',
- );
- // Exported permission: 'override simplenews authored by option'.
- $permissions['override simplenews authored by option'] = array(
- 'name' => 'override simplenews authored by option',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'override_node_options',
- );
- // Exported permission: 'override simplenews authored on option'.
- $permissions['override simplenews authored on option'] = array(
- 'name' => 'override simplenews authored on option',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'override_node_options',
- );
- // Exported permission: 'override simplenews promote to front page option'.
- $permissions['override simplenews promote to front page option'] = array(
- 'name' => 'override simplenews promote to front page option',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'override_node_options',
- );
- // Exported permission: 'override simplenews published option'.
- $permissions['override simplenews published option'] = array(
- 'name' => 'override simplenews published option',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'override_node_options',
- );
- // Exported permission: 'override simplenews revision option'.
- $permissions['override simplenews revision option'] = array(
- 'name' => 'override simplenews revision option',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'override_node_options',
- );
- // Exported permission: 'override simplenews sticky option'.
- $permissions['override simplenews sticky option'] = array(
- 'name' => 'override simplenews sticky option',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'override_node_options',
- );
- // Exported permission: 'overview scheduled newsletters'.
- $permissions['overview scheduled newsletters'] = array(
- 'name' => 'overview scheduled newsletters',
- 'roles' => array(
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'simplenews_scheduler',
- );
- // Exported permission: 'send scheduled newsletters'.
- $permissions['send scheduled newsletters'] = array(
- 'name' => 'send scheduled newsletters',
- 'roles' => array(
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'simplenews_scheduler',
- );
- // Exported permission: 'show simplenews title'.
- $permissions['show simplenews title'] = array(
- 'name' => 'show simplenews title',
- 'roles' => array(
- 'Adhérent' => 'Adhérent',
- 'Contact opérationnel' => 'Contact opérationnel',
- 'Premium' => 'Premium',
- 'Student' => 'Student',
- 'Unverified' => 'Unverified',
- 'Utilisateur' => 'Utilisateur',
- 'administrator' => 'administrator',
- 'anonymous user' => 'anonymous user',
- 'root' => 'root',
- ),
- 'module' => 'materio_page_title',
- );
- return $permissions;
- }
|