@7365admin1/layer-common 4.4.1-staging.289 → 4.4.2-staging.290

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +10 -4
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @iservice365/layer-common
2
2
 
3
+ ## 4.4.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 3662dab: The property role editor can now grant camera viewing. `useCameraViewPermission` opens the camera wall for any of four `virtual-patrol:` strings, mirroring the server's `CAMERA_VIEW_PERMISSIONS`, but `usePropertyPermission` carried no `virtual-patrol` family at all — so the gate was enforced at both ends and grantable by nobody, and only `*` wildcard holders saw a camera. Catalogue-only; nothing is granted to anybody.
8
+
3
9
  ## 4.4.0
4
10
 
5
11
  ### Minor Changes
@@ -860,11 +866,11 @@
860
866
  `utils/console-tier.ts` + `composables/useConsoleTier.ts` mirror the server's
861
867
  own rule from two endpoints the console already calls, unprojected:
862
868
 
863
- GET /api/members/user/:user/app/admin the Seven365 staff membership
864
- GET /api/roles/id/:role that membership's role document
869
+ GET /api/members/user/:user/app/admin the Seven365 staff membership
870
+ GET /api/roles/id/:role that membership's role document
865
871
 
866
- owner = member.type === "admin" && role.type === "admin" && role.default === true
867
- staff = member.type === "admin" && role.type === "admin"
872
+ owner = member.type === "admin" && role.type === "admin" && role.default === true
873
+ staff = member.type === "admin" && role.type === "admin"
868
874
 
869
875
  `role.default` is the marker because it is the only property of a platform
870
876
  staff role no API caller can set - `role.controller.ts` validates create and
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.4.1-staging.289",
5
+ "version": "4.4.2-staging.290",
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.",