@7365admin1/layer-common 4.103.0 → 4.104.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.104.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- d7b2152: A site's Roles & Permissions screen lists only the roles made for that site (needs core with `scope=site`); organisation-wide roles are managed in the Organization app. An empty site list says so.
|
|
8
|
+
|
|
3
9
|
## 4.103.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
|
@@ -436,7 +436,9 @@ const {
|
|
|
436
436
|
type: props.listType ?? props.type,
|
|
437
437
|
org: props.orgId,
|
|
438
438
|
site: props.siteId,
|
|
439
|
-
|
|
439
|
+
// A site's screen lists only the roles made for that site (owner,
|
|
440
|
+
// 2026-10-06); organisation-wide roles live in the Organization app.
|
|
441
|
+
scope: props.scope || (props.siteId ? "site" : ""),
|
|
440
442
|
}),
|
|
441
443
|
{
|
|
442
444
|
watch: [page, headerSearch],
|
|
@@ -473,6 +475,9 @@ const emptyText = computed(() => {
|
|
|
473
475
|
if (getRoleReqError.value) {
|
|
474
476
|
return "Could not load roles. Please refresh to try again.";
|
|
475
477
|
}
|
|
478
|
+
if (props.siteId) {
|
|
479
|
+
return "No roles have been made for this site yet. Organisation-wide roles are managed in the Organization app.";
|
|
480
|
+
}
|
|
476
481
|
return "No roles have been created yet.";
|
|
477
482
|
});
|
|
478
483
|
|
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.
|
|
5
|
+
"version": "4.104.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.",
|