@open-rlb/ng-app 3.1.15 → 3.1.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -456,8 +456,8 @@ const AclStore = signalStore({ providedIn: 'root' }, withState(initialAclState),
|
|
|
456
456
|
const resources = store.resources();
|
|
457
457
|
if (!resources)
|
|
458
458
|
return false;
|
|
459
|
-
return resources.some(
|
|
460
|
-
const matchName = res.resourceId === resourceName
|
|
459
|
+
return resources.some(company => company.resourceBusinessId === resourceName && company.resources.some(res => {
|
|
460
|
+
const matchName = res.resourceId === resourceName;
|
|
461
461
|
if (!action)
|
|
462
462
|
return matchName;
|
|
463
463
|
return matchName && res.actions.includes(action);
|