forked from discoverygarden/platform_main_feature
-
Notifications
You must be signed in to change notification settings - Fork 0
/
platform_main_feature.features.user_permission.inc
69 lines (62 loc) · 2.01 KB
/
platform_main_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
<?php
/**
* @file
* platform_main_feature.features.user_permission.inc
*/
/**
* Implements hook_user_default_permissions().
*/
function platform_main_feature_user_default_permissions() {
$permissions = array();
// Exported permission: 'access google analytics reports'.
$permissions['access google analytics reports'] = array(
'name' => 'access google analytics reports',
'roles' => array(
'administrator' => 'administrator',
'anonymous user' => 'anonymous user',
'authenticated user' => 'authenticated user',
),
'module' => 'google_analytics_reports',
);
// Exported permission: 'export islandora bookmarks'.
$permissions['export islandora bookmarks'] = array(
'name' => 'export islandora bookmarks',
'roles' => array(
'administrator' => 'administrator',
'anonymous user' => 'anonymous user',
'authenticated user' => 'authenticated user',
),
'module' => 'islandora_bookmark',
);
// Exported permission: 'search islandora solr'.
$permissions['search islandora solr'] = array(
'name' => 'search islandora solr',
'roles' => array(
'administrator' => 'administrator',
'anonymous user' => 'anonymous user',
'authenticated user' => 'authenticated user',
),
'module' => 'islandora_solr',
);
// Exported permission: 'use islandora_bookmark'.
$permissions['use islandora_bookmark'] = array(
'name' => 'use islandora_bookmark',
'roles' => array(
'administrator' => 'administrator',
'anonymous user' => 'anonymous user',
'authenticated user' => 'authenticated user',
),
'module' => 'islandora_bookmark',
);
// Exported permission: 'view fedora repository objects'.
$permissions['view fedora repository objects'] = array(
'name' => 'view fedora repository objects',
'roles' => array(
'administrator' => 'administrator',
'anonymous user' => 'anonymous user',
'authenticated user' => 'authenticated user',
),
'module' => 'islandora',
);
return $permissions;
}