-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpublikumstal.features.user_permission.inc
155 lines (138 loc) · 4.21 KB
/
publikumstal.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
<?php
/**
* @file
* publikumstal.features.user_permission.inc
*/
/**
* Implements hook_user_default_permissions().
*/
function publikumstal_user_default_permissions() {
$permissions = array();
// Exported permission: 'access all webform results'.
$permissions['access all webform results'] = array(
'name' => 'access all webform results',
'roles' => array(
'Digital Formidling' => 'Digital Formidling',
'Obib' => 'Obib',
'administrator' => 'administrator',
),
'module' => 'webform',
);
// Exported permission: 'access own webform results'.
$permissions['access own webform results'] = array(
'name' => 'access own webform results',
'roles' => array(
'Digital Formidling' => 'Digital Formidling',
'Obib' => 'Obib',
'administrator' => 'administrator',
),
'module' => 'webform',
);
// Exported permission: 'access own webform submissions'.
$permissions['access own webform submissions'] = array(
'name' => 'access own webform submissions',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'webform',
);
// Exported permission: 'configure_webform_charts'.
$permissions['configure_webform_charts'] = array(
'name' => 'configure_webform_charts',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'webform_chart',
);
// Exported permission: 'create webform content'.
$permissions['create webform content'] = array(
'name' => 'create webform content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
// Exported permission: 'delete all webform submissions'.
$permissions['delete all webform submissions'] = array(
'name' => 'delete all webform submissions',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'webform',
);
// Exported permission: 'delete any webform content'.
$permissions['delete any webform content'] = array(
'name' => 'delete any webform content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
// Exported permission: 'delete own webform content'.
$permissions['delete own webform content'] = array(
'name' => 'delete own webform content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
// Exported permission: 'delete own webform submissions'.
$permissions['delete own webform submissions'] = array(
'name' => 'delete own webform submissions',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'webform',
);
// Exported permission: 'edit all webform submissions'.
$permissions['edit all webform submissions'] = array(
'name' => 'edit all webform submissions',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'webform',
);
// Exported permission: 'edit any webform content'.
$permissions['edit any webform content'] = array(
'name' => 'edit any webform content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
// Exported permission: 'edit own webform content'.
$permissions['edit own webform content'] = array(
'name' => 'edit own webform content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
// Exported permission: 'edit own webform submissions'.
$permissions['edit own webform submissions'] = array(
'name' => 'edit own webform submissions',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'webform',
);
// Exported permission: 'edit webform components'.
$permissions['edit webform components'] = array(
'name' => 'edit webform components',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'webform',
);
// Exported permission: 'view_webform_charts'.
$permissions['view_webform_charts'] = array(
'name' => 'view_webform_charts',
'roles' => array(
'Digital Formidling' => 'Digital Formidling',
'Obib' => 'Obib',
'administrator' => 'administrator',
),
'module' => 'webform_chart',
);
return $permissions;
}