@7365admin1/layer-common 4.173.0 → 4.174.0

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,11 @@
1
1
  # @iservice365/layer-common
2
2
 
3
+ ## 4.174.0
4
+
5
+ ### Minor Changes
6
+
7
+ - b616873: Property Management role editor: Marketplace at this site (marketplace-mgmt:view-site-vendors), the read-only vendor view and complaint route of decision #226.
8
+
3
9
  ## 4.173.0
4
10
 
5
11
  ### Minor Changes
@@ -3909,11 +3915,11 @@ Monthly report: a month that had patrols opens the list of that month's patrol r
3909
3915
  `utils/console-tier.ts` + `composables/useConsoleTier.ts` mirror the server's
3910
3916
  own rule from two endpoints the console already calls, unprojected:
3911
3917
 
3912
- GET /api/members/user/:user/app/admin the Seven365 staff membership
3913
- GET /api/roles/id/:role that membership's role document
3918
+ GET /api/members/user/:user/app/admin the Seven365 staff membership
3919
+ GET /api/roles/id/:role that membership's role document
3914
3920
 
3915
- owner = member.type === "admin" && role.type === "admin" && role.default === true
3916
- staff = member.type === "admin" && role.type === "admin"
3921
+ owner = member.type === "admin" && role.type === "admin" && role.default === true
3922
+ staff = member.type === "admin" && role.type === "admin"
3917
3923
 
3918
3924
  `role.default` is the marker because it is the only property of a platform
3919
3925
  staff role no API caller can set - `role.controller.ts` validates create and
@@ -317,6 +317,16 @@ export default function usePropertyPermission() {
317
317
  "Allows the user to view the list of all service providers.",
318
318
  },
319
319
  },
320
+ // Marketplace at this site (decision #226): read-only, plus raising a
321
+ // complaint to Seven365. Mirrored from API-core
322
+ // `src/utils/marketplace-pm-authz.util.ts`. No approve / suspend right.
323
+ "marketplace-mgmt": {
324
+ "view-site-vendors": {
325
+ check: true,
326
+ description:
327
+ "Allows the user to see the marketplace vendors at the site (their live listings and order counts, no resident details) and raise a complaint about a vendor to Seven365.",
328
+ },
329
+ },
320
330
  "online-form-configuration": {
321
331
  "add-online-form-configuration": {
322
332
  check: true,
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.173.0",
5
+ "version": "4.174.0",
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.",