@optimiser/common 1.0.407 → 1.0.408

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.
@@ -5815,9 +5815,11 @@ function CheckAccessPermissions(permissionType, objectName, msp_d, db, mdb, next
5815
5815
  if (item.ModuleID.toLowerCase() == objectName.toLowerCase() || ((_b = (_a = item.ModuleData) === null || _a === void 0 ? void 0 : _a.Objects) === null || _b === void 0 ? void 0 : _b.includes(objectName))) {
5816
5816
  if (item.Operations.includes(permissionType)) {
5817
5817
  isAllowed = true;
5818
+ break;
5818
5819
  }
5819
5820
  else if (item.ModuleID == "report" && item.Operations.includes('Create-Edit')) {
5820
5821
  isAllowed = true;
5822
+ break;
5821
5823
  }
5822
5824
  }
5823
5825
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@optimiser/common",
3
- "version": "1.0.407",
3
+ "version": "1.0.408",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {