-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpage_content.features.user_permission.inc
54 lines (48 loc) · 1.36 KB
/
page_content.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
<?php
/**
* @file
* page_content.features.user_permission.inc
*/
/**
* Implements hook_user_default_permissions().
*/
function page_content_user_default_permissions() {
$permissions = array();
// Exported permission: 'view any file asset'.
$permissions['view any file asset'] = array(
'name' => 'view any file asset',
'roles' => array(
'anonymous user' => 'anonymous user',
'authenticated user' => 'authenticated user',
),
'module' => 'asset',
);
// Exported permission: 'view any image asset'.
$permissions['view any image asset'] = array(
'name' => 'view any image asset',
'roles' => array(
'anonymous user' => 'anonymous user',
'authenticated user' => 'authenticated user',
),
'module' => 'asset',
);
// Exported permission: 'view any slide asset'.
$permissions['view any slide asset'] = array(
'name' => 'view any slide asset',
'roles' => array(
'anonymous user' => 'anonymous user',
'authenticated user' => 'authenticated user',
),
'module' => 'asset',
);
// Exported permission: 'view any video asset'.
$permissions['view any video asset'] = array(
'name' => 'view any video asset',
'roles' => array(
'anonymous user' => 'anonymous user',
'authenticated user' => 'authenticated user',
),
'module' => 'asset',
);
return $permissions;
}