|
@@ -10,11 +10,22 @@
|
|
function materio_personal_notes_user_default_permissions() {
|
|
function materio_personal_notes_user_default_permissions() {
|
|
$permissions = array();
|
|
$permissions = array();
|
|
|
|
|
|
|
|
+ // Exported permission: 'create field_target_content_nid'.
|
|
|
|
+ $permissions['create field_target_content_nid'] = array(
|
|
|
|
+ 'name' => 'create field_target_content_nid',
|
|
|
|
+ 'roles' => array(
|
|
|
|
+ 'Adhérent' => 'Adhérent',
|
|
|
|
+ 'root' => 'root',
|
|
|
|
+ ),
|
|
|
|
+ 'module' => 'field_permissions',
|
|
|
|
+ );
|
|
|
|
+
|
|
// Exported permission: 'create note content'.
|
|
// Exported permission: 'create note content'.
|
|
$permissions['create note content'] = array(
|
|
$permissions['create note content'] = array(
|
|
'name' => 'create note content',
|
|
'name' => 'create note content',
|
|
'roles' => array(
|
|
'roles' => array(
|
|
'Adhérent' => 'Adhérent',
|
|
'Adhérent' => 'Adhérent',
|
|
|
|
+ 'root' => 'root',
|
|
),
|
|
),
|
|
'module' => 'node',
|
|
'module' => 'node',
|
|
);
|
|
);
|
|
@@ -32,29 +43,56 @@ function materio_personal_notes_user_default_permissions() {
|
|
// Exported permission: 'delete any note content'.
|
|
// Exported permission: 'delete any note content'.
|
|
$permissions['delete any note content'] = array(
|
|
$permissions['delete any note content'] = array(
|
|
'name' => 'delete any note content',
|
|
'name' => 'delete any note content',
|
|
- 'roles' => array(),
|
|
|
|
|
|
+ 'roles' => array(
|
|
|
|
+ 'root' => 'root',
|
|
|
|
+ ),
|
|
'module' => 'node',
|
|
'module' => 'node',
|
|
);
|
|
);
|
|
|
|
|
|
// Exported permission: 'delete own note content'.
|
|
// Exported permission: 'delete own note content'.
|
|
$permissions['delete own note content'] = array(
|
|
$permissions['delete own note content'] = array(
|
|
'name' => 'delete own note content',
|
|
'name' => 'delete own note content',
|
|
- 'roles' => array(),
|
|
|
|
|
|
+ 'roles' => array(
|
|
|
|
+ 'Adhérent' => 'Adhérent',
|
|
|
|
+ 'root' => 'root',
|
|
|
|
+ ),
|
|
'module' => 'node',
|
|
'module' => 'node',
|
|
);
|
|
);
|
|
|
|
|
|
// Exported permission: 'edit any note content'.
|
|
// Exported permission: 'edit any note content'.
|
|
$permissions['edit any note content'] = array(
|
|
$permissions['edit any note content'] = array(
|
|
'name' => 'edit any note content',
|
|
'name' => 'edit any note content',
|
|
- 'roles' => array(),
|
|
|
|
|
|
+ 'roles' => array(
|
|
|
|
+ 'Adhérent' => 'Adhérent',
|
|
|
|
+ 'root' => 'root',
|
|
|
|
+ ),
|
|
'module' => 'node',
|
|
'module' => 'node',
|
|
);
|
|
);
|
|
|
|
|
|
|
|
+ // Exported permission: 'edit field_target_content_nid'.
|
|
|
|
+ $permissions['edit field_target_content_nid'] = array(
|
|
|
|
+ 'name' => 'edit field_target_content_nid',
|
|
|
|
+ 'roles' => array(
|
|
|
|
+ 'root' => 'root',
|
|
|
|
+ ),
|
|
|
|
+ 'module' => 'field_permissions',
|
|
|
|
+ );
|
|
|
|
+
|
|
|
|
+ // Exported permission: 'edit own field_target_content_nid'.
|
|
|
|
+ $permissions['edit own field_target_content_nid'] = array(
|
|
|
|
+ 'name' => 'edit own field_target_content_nid',
|
|
|
|
+ 'roles' => array(
|
|
|
|
+ 'root' => 'root',
|
|
|
|
+ ),
|
|
|
|
+ 'module' => 'field_permissions',
|
|
|
|
+ );
|
|
|
|
+
|
|
// Exported permission: 'edit own note content'.
|
|
// Exported permission: 'edit own note content'.
|
|
$permissions['edit own note content'] = array(
|
|
$permissions['edit own note content'] = array(
|
|
'name' => 'edit own note content',
|
|
'name' => 'edit own note content',
|
|
'roles' => array(
|
|
'roles' => array(
|
|
'Adhérent' => 'Adhérent',
|
|
'Adhérent' => 'Adhérent',
|
|
|
|
+ 'root' => 'root',
|
|
),
|
|
),
|
|
'module' => 'node',
|
|
'module' => 'node',
|
|
);
|
|
);
|
|
@@ -111,9 +149,44 @@ function materio_personal_notes_user_default_permissions() {
|
|
// Exported permission: 'show note title'.
|
|
// Exported permission: 'show note title'.
|
|
$permissions['show note title'] = array(
|
|
$permissions['show note title'] = array(
|
|
'name' => 'show note title',
|
|
'name' => 'show note title',
|
|
- 'roles' => array(),
|
|
|
|
|
|
+ 'roles' => array(
|
|
|
|
+ 'Adhérent' => 'Adhérent',
|
|
|
|
+ 'root' => 'root',
|
|
|
|
+ ),
|
|
'module' => 'materio_page_title',
|
|
'module' => 'materio_page_title',
|
|
);
|
|
);
|
|
|
|
|
|
|
|
+ // Exported permission: 'use text format note_format'.
|
|
|
|
+ $permissions['use text format note_format'] = array(
|
|
|
|
+ 'name' => 'use text format note_format',
|
|
|
|
+ 'roles' => array(
|
|
|
|
+ 'Adhérent' => 'Adhérent',
|
|
|
|
+ 'Student' => 'Student',
|
|
|
|
+ 'Utilisateur Alpha Tester' => 'Utilisateur Alpha Tester',
|
|
|
|
+ 'administrator' => 'administrator',
|
|
|
|
+ 'root' => 'root',
|
|
|
|
+ ),
|
|
|
|
+ 'module' => 'filter',
|
|
|
|
+ );
|
|
|
|
+
|
|
|
|
+ // Exported permission: 'view field_target_content_nid'.
|
|
|
|
+ $permissions['view field_target_content_nid'] = array(
|
|
|
|
+ 'name' => 'view field_target_content_nid',
|
|
|
|
+ 'roles' => array(
|
|
|
|
+ 'root' => 'root',
|
|
|
|
+ ),
|
|
|
|
+ 'module' => 'field_permissions',
|
|
|
|
+ );
|
|
|
|
+
|
|
|
|
+ // Exported permission: 'view own field_target_content_nid'.
|
|
|
|
+ $permissions['view own field_target_content_nid'] = array(
|
|
|
|
+ 'name' => 'view own field_target_content_nid',
|
|
|
|
+ 'roles' => array(
|
|
|
|
+ 'Adhérent' => 'Adhérent',
|
|
|
|
+ 'root' => 'root',
|
|
|
|
+ ),
|
|
|
|
+ 'module' => 'field_permissions',
|
|
|
|
+ );
|
|
|
|
+
|
|
return $permissions;
|
|
return $permissions;
|
|
}
|
|
}
|