-
Notifications
You must be signed in to change notification settings - Fork 0
/
rbv_org.features.user_permission.inc
60 lines (53 loc) · 1.42 KB
/
rbv_org.features.user_permission.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?php
/**
* @file
* rbv_org.features.user_permission.inc
*/
/**
* Implements hook_user_default_permissions().
*/
function rbv_org_user_default_permissions() {
$permissions = array();
// Exported permission: 'create org content'.
$permissions['create org content'] = array(
'name' => 'create org content',
'roles' => array(
'administrator' => 'administrator',
'network admin' => 'network admin',
),
'module' => 'node',
);
// Exported permission: 'delete any org content'.
$permissions['delete any org content'] = array(
'name' => 'delete any org content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
// Exported permission: 'delete own org content'.
$permissions['delete own org content'] = array(
'name' => 'delete own org content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
// Exported permission: 'edit any org content'.
$permissions['edit any org content'] = array(
'name' => 'edit any org content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
// Exported permission: 'edit own org content'.
$permissions['edit own org content'] = array(
'name' => 'edit own org content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
return $permissions;
}