created Chapitre feature

This commit is contained in:
Bachir Soussi Chiadmi
2015-02-21 17:40:38 +01:00
parent 118ebf517d
commit e61e4c779d
8 changed files with 1053 additions and 0 deletions
@@ -0,0 +1,64 @@
<?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;
}