@openinc/parse-server-opendash 4.10.0 → 4.10.1

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.
@@ -5,10 +5,14 @@ const index_js_1 = require("../features/schema/index.js");
5
5
  async function init() {
6
6
  // Rules for computed inspection characteristics of the BDE plugin. Read by
7
7
  // every user of the tenant (the inspection mask evaluates them), written by
8
- // the creator and tenant admins only: a rule decides the actual value that
9
- // is reported to the ERP.
8
+ // the creator and tenant admins: a rule decides the actual value that is
9
+ // reported to the ERP.
10
+ //
11
+ // That is only the minimum. Who else may edit a rule — the quality
12
+ // department, say — is granted in the BDE admin's permission dialog, so a
13
+ // custom ACL is kept on later saves instead of being reset.
10
14
  (0, index_js_1.beforeSaveHook)("OD3_BDE_QAFormula", async (request) => {
11
15
  await (0, index_js_1.defaultHandler)(request);
12
- await (0, index_js_1.defaultAclHandler)(request);
16
+ await (0, index_js_1.defaultAclHandler)(request, { allowCustomACL: true });
13
17
  });
14
18
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openinc/parse-server-opendash",
3
- "version": "4.10.0",
3
+ "version": "4.10.1",
4
4
  "description": "Parse Server Cloud Code for open.INC Stack.",
5
5
  "packageManager": "pnpm@12.8.1",
6
6
  "keywords": [