1 | <?php |
---|
2 | /**************************************************************************\ |
---|
3 | * eGroupWare * |
---|
4 | * http://www.egroupware.org * |
---|
5 | * -------------------------------------------- * |
---|
6 | * This program is free software; you can redistribute it and/or modify it * |
---|
7 | * under the terms of the GNU General Public License as published by the * |
---|
8 | * Free Software Foundation; either version 2 of the License, or (at your * |
---|
9 | * option) any later version. * |
---|
10 | \**************************************************************************/ |
---|
11 | |
---|
12 | |
---|
13 | $GLOBALS['acl_manager']['admin']['site_config_access'] = array( |
---|
14 | 'name' => 'Deny access to site configuration', |
---|
15 | 'rights' => array( |
---|
16 | 'List config settings' => 1, |
---|
17 | 'Change config settings' => 2 |
---|
18 | ) |
---|
19 | ); // added and working ralfbecker |
---|
20 | |
---|
21 | $GLOBALS['acl_manager']['admin']['account_access'] = array( |
---|
22 | 'name' => 'Deny access to user accounts', |
---|
23 | 'rights' => array( |
---|
24 | 'Account list' => 1, |
---|
25 | 'Search accounts' => 2, |
---|
26 | 'Add account' => 4, |
---|
27 | 'View account' => 8, |
---|
28 | 'Edit account' => 16, |
---|
29 | 'Delete account' => 32, |
---|
30 | 'change ACL Rights' => 64 |
---|
31 | ) |
---|
32 | ); // was already there and seems to work ralfbecker |
---|
33 | |
---|
34 | $GLOBALS['acl_manager']['admin']['group_access'] = array( |
---|
35 | 'name' => 'Deny access to groups', |
---|
36 | 'rights' => array( |
---|
37 | 'Group list' => 1, |
---|
38 | 'Search groups' => 2, |
---|
39 | 'Add group' => 4, |
---|
40 | // 'View group' => 8, // Will be added in the future |
---|
41 | 'Edit group' => 16, |
---|
42 | 'Delete group' => 32 |
---|
43 | ) |
---|
44 | ); // was already there and seems to work ralfbecker |
---|
45 | |
---|
46 | /* not usable at the moment |
---|
47 | $GLOBALS['acl_manager']['admin']['peer_server_access'] = array( |
---|
48 | 'name' => 'Deny access to peer servers', |
---|
49 | 'rights' => array( |
---|
50 | 'Peer server list' => 1, |
---|
51 | 'Search peer servers' => 2, |
---|
52 | 'Add peer server' => 4, |
---|
53 | // 'View peer server' => 8, // there's no view-routine atm. |
---|
54 | 'Edit peer server' => 16, |
---|
55 | 'Delete peer server' => 32 |
---|
56 | ) |
---|
57 | ); |
---|
58 | */ |
---|
59 | $GLOBALS['acl_manager']['admin']['applications_access'] = array( |
---|
60 | 'name' => 'Deny access to applications', |
---|
61 | 'rights' => array( |
---|
62 | 'Applications list' => 1, |
---|
63 | 'Add application' => 2, |
---|
64 | 'Edit application' => 4, |
---|
65 | 'Delete application' => 8, |
---|
66 | 'Register application hooks' => 16 |
---|
67 | ) |
---|
68 | ); // added and working ralfbecker |
---|
69 | |
---|
70 | $GLOBALS['acl_manager']['admin']['global_categories_access'] = array( |
---|
71 | 'name' => 'Deny access to global categories', |
---|
72 | 'rights' => array( |
---|
73 | 'Categories list' => 1, |
---|
74 | 'Search categories' => 2, |
---|
75 | 'Add category' => 4, |
---|
76 | 'View category' => 8, |
---|
77 | 'Edit category' => 16, |
---|
78 | 'Delete category' => 32, |
---|
79 | 'Add sub-category' => 64 |
---|
80 | ) |
---|
81 | ); // added and working ralfbecker |
---|
82 | |
---|
83 | $GLOBALS['acl_manager']['admin']['mainscreen_message_access'] = array( |
---|
84 | 'name' => 'Deny access to mainscreen message', |
---|
85 | 'rights' => array( |
---|
86 | 'Main screen message' => 1, |
---|
87 | 'Login message' => 2 |
---|
88 | ) |
---|
89 | ); // added and working ralfbecker |
---|
90 | |
---|
91 | $GLOBALS['acl_manager']['admin']['current_sessions_access'] = array( |
---|
92 | 'name' => 'Deny access to current sessions', |
---|
93 | 'rights' => array( |
---|
94 | 'List current sessions' => 1, |
---|
95 | 'Show current action' => 2, |
---|
96 | 'Show session IP address' => 4, |
---|
97 | 'Kill session' => 8 |
---|
98 | ) |
---|
99 | ); // checked and working ralfbecker |
---|
100 | |
---|
101 | $GLOBALS['acl_manager']['admin']['access_log_access'] = array( |
---|
102 | 'name' => 'Deny access to access log', |
---|
103 | 'rights' => array( |
---|
104 | 'Show access log' => 1 |
---|
105 | ) |
---|
106 | ); // added and working ralfbecker |
---|
107 | |
---|
108 | $GLOBALS['acl_manager']['admin']['error_log_access'] = array( |
---|
109 | 'name' => 'Deny access to error log', |
---|
110 | 'rights' => array( |
---|
111 | 'Show error log' => 1 |
---|
112 | ) |
---|
113 | ); // added and working ralfbecker |
---|
114 | |
---|
115 | $GLOBALS['acl_manager']['admin']['asyncservice_access'] = array( |
---|
116 | 'name' => 'Deny access to asynchronous timed services', |
---|
117 | 'rights' => array( |
---|
118 | 'Asynchronous timed services' => 1 |
---|
119 | ) |
---|
120 | ); // added and working ralfbecker |
---|
121 | |
---|
122 | $GLOBALS['acl_manager']['admin']['info_access'] = array( |
---|
123 | 'name' => 'Deny access to phpinfo', |
---|
124 | 'rights' => array( |
---|
125 | 'Show phpinfo()' => 1 |
---|
126 | ) |
---|
127 | ); // added and working ralfbecker |
---|
128 | |
---|