mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
#11553 fixed acl
This commit is contained in:
parent
6a941f6cda
commit
6e56d680ba
@ -80,6 +80,12 @@ if ((bool) check_acl($config['id_user'], 0, 'AR') === true
|
|||||||
if ((bool) check_acl($config['id_user'], 0, 'AW') === true) {
|
if ((bool) check_acl($config['id_user'], 0, 'AW') === true) {
|
||||||
enterprise_hook('applications_menu');
|
enterprise_hook('applications_menu');
|
||||||
enterprise_hook('cloud_menu');
|
enterprise_hook('cloud_menu');
|
||||||
|
}
|
||||||
|
|
||||||
|
if ((bool) check_acl($config['id_user'], 0, 'RW') === true
|
||||||
|
|| (bool) check_acl($config['id_user'], 0, 'RM') === true
|
||||||
|
|| (bool) check_acl($config['id_user'], 0, 'PM') === true
|
||||||
|
) {
|
||||||
enterprise_hook('console_task_menu');
|
enterprise_hook('console_task_menu');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user