acl frontend fix
This commit is contained in:
@@ -57,7 +57,7 @@ define('acl-portal', ['acl'], function (Dep) {
|
||||
return true;
|
||||
}
|
||||
if (data === null) {
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
action = action || null;
|
||||
|
||||
+2
-2
@@ -62,13 +62,13 @@ define('acl', [], function () {
|
||||
return true;
|
||||
}
|
||||
if (data === null) {
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
action = action || null;
|
||||
|
||||
if (action === null) {
|
||||
return true
|
||||
return true;
|
||||
}
|
||||
if (!(action in data)) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user