@7365admin1/layer-common 4.0.3-staging.224 → 4.0.3-staging.225

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.
@@ -354,17 +354,20 @@ const props = defineProps({
354
354
  type: Object as PropType<Record<string, any> | null>,
355
355
  default: null,
356
356
  },
357
+ // Fail closed, like the other gate props in this layer. `AccessManagement`
358
+ // is the only caller and binds all three, so nothing changes today; the
359
+ // default no longer grants the control to a future caller that omits one.
357
360
  canUpdate: {
358
361
  type: Boolean,
359
- default: true,
362
+ default: false,
360
363
  },
361
364
  canReplaceAccessCard: {
362
365
  type: Boolean,
363
- default: true,
366
+ default: false,
364
367
  },
365
368
  canDeleteAccessCard: {
366
369
  type: Boolean,
367
- default: true,
370
+ default: false,
368
371
  },
369
372
  // Fail closed. `AccessManagement` did not forward this, so the dialog's
370
373
  // Assign control defaulted to open for every role.
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.0.3-staging.224",
5
+ "version": "4.0.3-staging.225",
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.",