Revision 1789
Added by Dietmar about 12 years ago
upgradePermissions.php | ||
---|---|---|
196 | 196 |
function addons(& $val, $key, $vars = '') |
197 | 197 |
{ |
198 | 198 |
$val = rtrim($val, '_'); |
199 |
$val = ($val == 'modules') || ($val == 'templates') || ($val == 'languages') ? 'addons' : $val;
|
|
199 |
$val = ($val == 'modules_view') || ($val == 'templates_view') || ($val == 'languages_view') ? 'addons' : $val;
|
|
200 | 200 |
} |
201 | 201 |
} |
202 | 202 |
|
... | ... | |
211 | 211 |
if(!function_exists('access')){ |
212 | 212 |
function access(& $val, $key, $vars = '') |
213 | 213 |
{ |
214 |
$val = ($val == 'groups') || ($val == 'users') ? 'access' : $val;
|
|
214 |
$val = ($val == 'groups_view') || ($val == 'users_view') ? 'access' : $val;
|
|
215 | 215 |
} |
216 | 216 |
} |
217 | 217 |
function convertArrayToString ($val=null) |
Also available in: Unified diff
! update Group Permission, add module_advanced
! upgrade-script will be updating Adminitrator Group