@open-rlb/ng-app 3.1.105 → 3.1.107

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.
@@ -448,7 +448,7 @@ const AclStore = signalStore({ providedIn: 'root' }, withState(initialAclState),
448
448
  const resources = store.resources();
449
449
  if (!resources)
450
450
  return false;
451
- return resources.some(company => company.resourceBusinessId === busId &&
451
+ return resources.some(company => company.businessId === busId &&
452
452
  company.resources.some(res => {
453
453
  const matchRes = res.resourceId === resId;
454
454
  return action ? matchRes && res.actions.includes(action) : matchRes;
@@ -533,7 +533,7 @@ class AppsService {
533
533
  return true;
534
534
  return resources?.some(userResource => {
535
535
  const appBusId = app.data?.[confAcl.businessIdKey];
536
- const matchBusId = userResource.resourceBusinessId === appBusId;
536
+ const matchBusId = userResource.businessId === appBusId;
537
537
  if (!matchBusId)
538
538
  return false;
539
539
  return userResource.resources.some(res => {