New functionality for permission on modulebuilder
This commit is contained in:
parent
d15e1af966
commit
a480347738
@ -1995,8 +1995,8 @@ if ($dirins && GETPOST('action') == 'update_right' && GETPOST('modifyright')&& e
|
||||
$permsForObject =array();
|
||||
|
||||
$allObject = array();
|
||||
|
||||
for ($i =0; $i<count($permissions); $i++) {
|
||||
$nbOfPermissions = count($permissions);
|
||||
for ($i =0; $i<$nbOfPermissions; $i++) {
|
||||
if ($permissions[$i][4] == $objectForPerms) {
|
||||
if (count($permsForObject) < 3) {
|
||||
$permsForObject[] = $permissions[$i];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user