8062-testToMaster_2 #792

Merged
alexm merged 347 commits from 8062-testToMaster_2 into master 2024-10-03 05:48:03 +00:00
1 changed files with 1 additions and 0 deletions
Showing only changes of commit fb496d7fc6 - Show all commits

View File

@ -18,6 +18,7 @@ export function useAcl() {
function hasAny(model, props, accessType) {
const acls = state.getAcls().value[model];
Array.isArray(props) || (props = [props]);
if (acls)
return ['*', ...props].some((key) => {
const acl = acls[key];