CI Fix.
This commit is contained in:
@@ -53,14 +53,6 @@ export function HasRbacAccess({
|
||||
requiredAuthLevel,
|
||||
action,
|
||||
}) {
|
||||
console.log(
|
||||
"Checking access for action",
|
||||
action,
|
||||
bodyshop.md_rbac[action],
|
||||
authLevel,
|
||||
bodyshop.md_rbac[action] <= authLevel
|
||||
);
|
||||
|
||||
return (
|
||||
(requiredAuthLevel && requiredAuthLevel <= authLevel) ||
|
||||
((bodyshop.md_rbac && bodyshop.md_rbac[action]) || rbacDefaults[action]) <=
|
||||
|
||||
Reference in New Issue
Block a user