|
@@ -110,6 +110,11 @@ class AdminControl extends BaseController
|
|
|
if (in_array($controller, $tmp)) {
|
|
|
return true;
|
|
|
}
|
|
|
+ $allow = ["ajax_get_brand"];
|
|
|
+
|
|
|
+ if (in_array($action,$allow)){
|
|
|
+ return true;
|
|
|
+ }
|
|
|
if (in_array($controller, $permission) || in_array("$controller.$action", $permission)) {
|
|
|
return true;
|
|
|
} else {
|