@7365admin1/layer-common 4.97.1-staging.666 → 4.97.1-staging.667
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.
|
@@ -95,6 +95,27 @@ export default function useCleaningPermission() {
|
|
|
95
95
|
"Allows the user to see HID Access in the app and use their own QR code, face, PIN, card and intercom at this site.",
|
|
96
96
|
},
|
|
97
97
|
},
|
|
98
|
+
// Marketplace vendor roles (decision #223, build #1100). Mirrored from
|
|
99
|
+
// API-core `src/utils/marketplace-permissions.ts`; manage-orders implies
|
|
100
|
+
// view-orders. Until the API runs `MARKETPLACE_PERMISSION_MODE=enforce`
|
|
101
|
+
// these only prepare roles; existing explicit roles are backfilled.
|
|
102
|
+
"marketplace-mgmt": {
|
|
103
|
+
"manage-listings": {
|
|
104
|
+
check: true,
|
|
105
|
+
description:
|
|
106
|
+
"Allows the user to create, edit, price, publish and delete marketplace listings, add stock, and manage discounts and vendor settings.",
|
|
107
|
+
},
|
|
108
|
+
"view-orders": {
|
|
109
|
+
check: true,
|
|
110
|
+
description:
|
|
111
|
+
"Allows the user to view the marketplace order queue and order chat (read-only).",
|
|
112
|
+
},
|
|
113
|
+
"manage-orders": {
|
|
114
|
+
check: true,
|
|
115
|
+
description:
|
|
116
|
+
"Allows the user to update marketplace order status and bookings, cancel, and post in order chat. Includes viewing orders.",
|
|
117
|
+
},
|
|
118
|
+
},
|
|
98
119
|
toilet_locations: {
|
|
99
120
|
"create-toilet-location": {
|
|
100
121
|
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.97.1-staging.
|
|
5
|
+
"version": "4.97.1-staging.667",
|
|
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.",
|