forked from vibjerg/ding_permissions
-
Notifications
You must be signed in to change notification settings - Fork 6
/
ding_permissions.strongarm.inc
63 lines (54 loc) · 2.25 KB
/
ding_permissions.strongarm.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
<?php
/**
* @file
* ding_permissions.strongarm.inc
*/
/**
* Implements hook_strongarm().
*/
function ding_permissions_strongarm() {
$export = array();
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'secure_permissions_active';
$strongarm->value = 1;
$export['secure_permissions_active'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'secure_permissions_disable_forms';
$strongarm->value = 1;
$export['secure_permissions_disable_forms'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'secure_permissions_show_permissions_page';
$strongarm->value = 1;
$export['secure_permissions_show_permissions_page'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'secure_permissions_show_roles_page';
$strongarm->value = 1;
$export['secure_permissions_show_roles_page'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'secure_permissions_use_default';
$strongarm->value = 0;
$export['secure_permissions_use_default'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'secure_permissions_verbose';
$strongarm->value = 0;
$export['secure_permissions_verbose'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'og_node_access_strict';
$strongarm->value = 0;
$export['og_node_access_strict'] = $strongarm;
return $export;
}