@7365admin1/layer-common 4.12.0 → 4.12.2

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @iservice365/layer-common
2
2
 
3
+ ## 4.12.2
4
+
5
+ ### Patch Changes
6
+
7
+ - cbe9fa6: `useMember()` now returns `getDeniedModules`. It was declared but never returned, so the module deny list never reached the web apps (the router guard failed open) and the Client details role dialog threw and never stopped loading.
8
+
9
+ ## 4.12.1
10
+
11
+ ### Patch Changes
12
+
13
+ - 807d76b: release automation: changesets now runs under a release token so the build check on the release pr runs without manual approval
14
+
3
15
  ## 4.12.0
4
16
 
5
17
  ### Minor Changes
@@ -1083,11 +1095,11 @@
1083
1095
  `utils/console-tier.ts` + `composables/useConsoleTier.ts` mirror the server's
1084
1096
  own rule from two endpoints the console already calls, unprojected:
1085
1097
 
1086
- GET /api/members/user/:user/app/admin the Seven365 staff membership
1087
- GET /api/roles/id/:role that membership's role document
1098
+ GET /api/members/user/:user/app/admin the Seven365 staff membership
1099
+ GET /api/roles/id/:role that membership's role document
1088
1100
 
1089
- owner = member.type === "admin" && role.type === "admin" && role.default === true
1090
- staff = member.type === "admin" && role.type === "admin"
1101
+ owner = member.type === "admin" && role.type === "admin" && role.default === true
1102
+ staff = member.type === "admin" && role.type === "admin"
1091
1103
 
1092
1104
  `role.default` is the marker because it is the only property of a platform
1093
1105
  staff role no API caller can set - `role.controller.ts` validates create and
@@ -179,5 +179,6 @@ export default function useMember() {
179
179
  getAllByUserId,
180
180
  getByUserTypeOrg,
181
181
  completeMemberOnboarding,
182
+ getDeniedModules,
182
183
  };
183
184
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@7365admin1/layer-common",
3
3
  "license": "MIT",
4
4
  "type": "module",
5
- "version": "4.12.0",
5
+ "version": "4.12.2",
6
6
  "author": "7365admin1",
7
7
  "main": "./nuxt.config.ts",
8
8
  "//files": "What a consumer extending this layer actually loads. Without this npm ships the whole working tree - the changesets, the CI workflows, the render harness in tools/ and any scratch directory that happened to exist at publish time. Nuxt resolves a layer by directory, so every runtime directory below has to stay listed; adding a new top-level runtime directory means adding it here too.",