1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- <?php
- /**
- * @file
- * materio_publications.features.user_permission.inc
- */
- /**
- * Implements hook_user_default_permissions().
- */
- function materio_publications_user_default_permissions() {
- $permissions = array();
- // Exported permission: 'create publication content'.
- $permissions['create publication content'] = array(
- 'name' => 'create publication content',
- 'roles' => array(
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'node',
- );
- // Exported permission: 'delete any publication content'.
- $permissions['delete any publication content'] = array(
- 'name' => 'delete any publication content',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'node',
- );
- // Exported permission: 'delete own publication content'.
- $permissions['delete own publication content'] = array(
- 'name' => 'delete own publication content',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'node',
- );
- // Exported permission: 'edit any publication content'.
- $permissions['edit any publication content'] = array(
- 'name' => 'edit any publication content',
- 'roles' => array(
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'node',
- );
- // Exported permission: 'edit own publication content'.
- $permissions['edit own publication content'] = array(
- 'name' => 'edit own publication content',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'node',
- );
- // Exported permission: 'show publication title'.
- $permissions['show publication title'] = array(
- 'name' => 'show publication title',
- 'roles' => array(
- 'anonymous user' => 'anonymous user',
- 'authenticated user' => 'authenticated user',
- ),
- 'module' => 'materio_page_title',
- );
- return $permissions;
- }
|