mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Fixed problems with ACL. Ticket: #4057
(cherry picked from commit fb56c16e19e3f289b55fbfef36d22162465e5c41)
This commit is contained in:
parent
9b9a25cea3
commit
5f11a0670f
@ -93,7 +93,7 @@ require_once ($config['homedir'] . "/include/functions_filemanager.php");
|
|||||||
|
|
||||||
check_login ();
|
check_login ();
|
||||||
|
|
||||||
if (! check_acl ($config['id_user'], 0, "LM")) {
|
if (! check_acl ($config['id_user'], 0, "PM")) {
|
||||||
db_pandora_audit("ACL Violation",
|
db_pandora_audit("ACL Violation",
|
||||||
"Trying to access Plugin Management");
|
"Trying to access Plugin Management");
|
||||||
require ("general/noaccess.php");
|
require ("general/noaccess.php");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user