mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 15:54:29 +02:00
#11086 fixed acl in extensions view
This commit is contained in:
parent
a4f67d353b
commit
5ece13fc9f
@ -15,7 +15,7 @@ check_login();
|
|||||||
|
|
||||||
global $config;
|
global $config;
|
||||||
|
|
||||||
if (! check_acl($config['id_user'], 0, 'PM')) {
|
if (users_is_admin($config['id_user']) === false) {
|
||||||
db_pandora_audit(
|
db_pandora_audit(
|
||||||
AUDIT_LOG_ACL_VIOLATION,
|
AUDIT_LOG_ACL_VIOLATION,
|
||||||
'Trying to access extensions list'
|
'Trying to access extensions list'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user