@7365admin1/layer-common 4.97.1-staging.700 → 4.97.1-staging.701

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.
@@ -34,7 +34,12 @@
34
34
  </v-row>
35
35
  </v-col>
36
36
 
37
- <v-col v-if="props.siteState" cols="12" class="mt-2">
37
+ <!--
38
+ Read-only: a role made inside a site belongs to that site. With no
39
+ site (organisation-level roles) there is nothing to show, so say
40
+ where per-site roles are made instead of an empty locked box.
41
+ -->
42
+ <v-col v-if="props.siteState && props.siteId" cols="12" class="mt-2">
38
43
  <v-row no-gutters>
39
44
  <InputLabel title="Site" />
40
45
  <v-col cols="12">
@@ -48,6 +53,12 @@
48
53
  </v-col>
49
54
  </v-row>
50
55
  </v-col>
56
+ <v-col v-else-if="props.siteState" cols="12" class="mt-2">
57
+ <p class="text-body-2 text-medium-emphasis mb-0" data-test="role-form-no-site-hint">
58
+ This role is for the whole organisation. To make a role for one site, open
59
+ Sites, choose the site, then Roles &amp; Permissions.
60
+ </p>
61
+ </v-col>
51
62
 
52
63
  <v-col cols="12" class="mt-2">
53
64
  <AppButton
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.700",
5
+ "version": "4.97.1-staging.701",
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.",