Merge branch '1658-permisos-para-manipular-archivos-en-colecciones-dev' into 'develop'

Added qw perms

See merge request artica/pandorafms!1127
This commit is contained in:
vgilc 2017-11-29 16:20:08 +01:00
commit 7ce6535170
1 changed files with 3 additions and 3 deletions

View File

@ -151,7 +151,7 @@ if ($upload_file) {
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");
require ("general/noaccess.php");
return;
@ -219,7 +219,7 @@ if ($create_text_file) {
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");
require ("general/noaccess.php");
return;
@ -279,7 +279,7 @@ if ($upload_zip) {
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");
require ("general/noaccess.php");
return;