mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
Added qw perms
This commit is contained in:
parent
406c69d5be
commit
64b926e482
@ -151,7 +151,7 @@ if ($upload_file) {
|
|||||||
|
|
||||||
check_login ();
|
check_login ();
|
||||||
|
|
||||||
if (! check_acl ($config['id_user'], 0, "PM")) {
|
if (! check_acl ($config['id_user'], 0, "AW")) {
|
||||||
db_pandora_audit("ACL Violation", "Trying to access File manager");
|
db_pandora_audit("ACL Violation", "Trying to access File manager");
|
||||||
require ("general/noaccess.php");
|
require ("general/noaccess.php");
|
||||||
return;
|
return;
|
||||||
@ -219,7 +219,7 @@ if ($create_text_file) {
|
|||||||
|
|
||||||
check_login ();
|
check_login ();
|
||||||
|
|
||||||
if (! check_acl ($config['id_user'], 0, "PM")) {
|
if (! check_acl ($config['id_user'], 0, "AW")) {
|
||||||
db_pandora_audit("ACL Violation", "Trying to access File manager");
|
db_pandora_audit("ACL Violation", "Trying to access File manager");
|
||||||
require ("general/noaccess.php");
|
require ("general/noaccess.php");
|
||||||
return;
|
return;
|
||||||
@ -279,7 +279,7 @@ if ($upload_zip) {
|
|||||||
|
|
||||||
check_login ();
|
check_login ();
|
||||||
|
|
||||||
if (! check_acl ($config['id_user'], 0, "PM")) {
|
if (! check_acl ($config['id_user'], 0, "AW")) {
|
||||||
db_pandora_audit("ACL Violation", "Trying to access File manager");
|
db_pandora_audit("ACL Violation", "Trying to access File manager");
|
||||||
require ("general/noaccess.php");
|
require ("general/noaccess.php");
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user