Files
jeunes-et-engages-d7/sites/all/modules/features/chapitre/chapitre.features.user_permission.inc
T

65 lines
1.6 KiB
PHP

<?php
/**
* @file
* chapitre.features.user_permission.inc
*/
/**
* Implements hook_user_default_permissions().
*/
function chapitre_user_default_permissions() {
$permissions = array();
// Exported permission: 'create chapitre content'.
$permissions['create chapitre content'] = array(
'name' => 'create chapitre content',
'roles' => array(
'administrator' => 'administrator',
'root' => 'root',
),
'module' => 'node',
);
// Exported permission: 'delete any chapitre content'.
$permissions['delete any chapitre content'] = array(
'name' => 'delete any chapitre content',
'roles' => array(
'administrator' => 'administrator',
'root' => 'root',
),
'module' => 'node',
);
// Exported permission: 'delete own chapitre content'.
$permissions['delete own chapitre content'] = array(
'name' => 'delete own chapitre content',
'roles' => array(
'administrator' => 'administrator',
'root' => 'root',
),
'module' => 'node',
);
// Exported permission: 'edit any chapitre content'.
$permissions['edit any chapitre content'] = array(
'name' => 'edit any chapitre content',
'roles' => array(
'administrator' => 'administrator',
'root' => 'root',
),
'module' => 'node',
);
// Exported permission: 'edit own chapitre content'.
$permissions['edit own chapitre content'] = array(
'name' => 'edit own chapitre content',
'roles' => array(
'administrator' => 'administrator',
'root' => 'root',
),
'module' => 'node',
);
return $permissions;
}