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
|
<?php
/**
* @file
* muamba_interface.features.user_permission.inc
*/
/**
* Implements hook_user_default_permissions().
*/
function muamba_interface_user_default_permissions() {
$permissions = array();
// Exported permission: access site-wide contact form
$permissions['access site-wide contact form'] = array(
'name' => 'access site-wide contact form',
'roles' => array(
0 => 'administrator',
1 => 'anonymous user',
2 => 'authenticated user',
),
'module' => 'contact',
);
// Exported permission: access user contact forms
$permissions['access user contact forms'] = array(
'name' => 'access user contact forms',
'roles' => array(
0 => 'administrator',
),
'module' => 'contact',
);
// Exported permission: administer contact forms
$permissions['administer contact forms'] = array(
'name' => 'administer contact forms',
'roles' => array(
0 => 'administrator',
),
'module' => 'contact',
);
return $permissions;
}
|