-
Notifications
You must be signed in to change notification settings - Fork 0
/
richtexteditor_feature.features.user_permission.inc
109 lines (95 loc) · 2.84 KB
/
richtexteditor_feature.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
<?php
/**
* @file
* richtexteditor_feature.features.user_permission.inc
*/
/**
* Implementation of hook_user_default_permissions().
*/
function richtexteditor_feature_user_default_permissions() {
$permissions = array();
// Exported permission: administer ckeditor
$permissions['administer ckeditor'] = array(
'name' => 'administer ckeditor',
'roles' => array(
0 => 'Administrator',
),
'module' => 'ckeditor',
);
// Exported permission: administer imce
$permissions['administer imce'] = array(
'name' => 'administer imce',
'roles' => array(
0 => 'Administrator',
),
'module' => 'imce',
);
// Exported permission: customize ckeditor
$permissions['customize ckeditor'] = array(
'name' => 'customize ckeditor',
'roles' => array(
0 => 'Administrator',
),
'module' => 'ckeditor',
);
// Exported permission: show format selection for comment
$permissions['show format selection for comment'] = array(
'name' => 'show format selection for comment',
'roles' => array(),
);
// Exported permission: show format selection for media
$permissions['show format selection for media'] = array(
'name' => 'show format selection for media',
'roles' => array(),
);
// Exported permission: show format selection for node
$permissions['show format selection for node'] = array(
'name' => 'show format selection for node',
'roles' => array(),
);
// Exported permission: show format selection for taxonomy_term
$permissions['show format selection for taxonomy_term'] = array(
'name' => 'show format selection for taxonomy_term',
'roles' => array(),
);
// Exported permission: show format selection for user
$permissions['show format selection for user'] = array(
'name' => 'show format selection for user',
'roles' => array(),
);
// Exported permission: show format tips
$permissions['show format tips'] = array(
'name' => 'show format tips',
'roles' => array(
0 => 'Administrator',
1 => 'Manager',
),
'module' => 'better_formats',
);
// Exported permission: show more format tips link
$permissions['show more format tips link'] = array(
'name' => 'show more format tips link',
'roles' => array(),
);
// Exported permission: use text format filtered_html
$permissions['use text format filtered_html'] = array(
'name' => 'use text format filtered_html',
'roles' => array(
0 => 'Administrator',
1 => 'Foodie',
2 => 'Manager',
3 => 'authenticated user',
),
'module' => 'filter',
);
// Exported permission: use text format full_html
$permissions['use text format full_html'] = array(
'name' => 'use text format full_html',
'roles' => array(
0 => 'Administrator',
1 => 'Manager',
),
'module' => 'filter',
);
return $permissions;
}