@ai-matrx/records-ui 0.115.51 → 0.115.52

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/dist/index.d.cts CHANGED
@@ -6420,8 +6420,8 @@ interface ShareControlProps {
6420
6420
  /** What to call it in the dialog's title. */
6421
6421
  name?: string | undefined;
6422
6422
  /**
6423
- * Whether this person may pass this on — `custom.share_grant` asks for Admin
6424
- * ON THE THING. A caller that already holds the answer (a table screen has
6423
+ * Whether this person may pass this on — `custom.share_grant` asks Edit
6424
+ * ON THE THING (the dialog then offers only the levels `iam.may_grant_as` allows). A caller that already holds the answer (a table screen has
6425
6425
  * the table's rights in its hand) passes it; left out, this asks the store
6426
6426
  * itself for the subject named above. Either way it is an ANSWER and never an
6427
6427
  * assumption, which is the whole of this lane.
package/dist/index.d.ts CHANGED
@@ -6420,8 +6420,8 @@ interface ShareControlProps {
6420
6420
  /** What to call it in the dialog's title. */
6421
6421
  name?: string | undefined;
6422
6422
  /**
6423
- * Whether this person may pass this on — `custom.share_grant` asks for Admin
6424
- * ON THE THING. A caller that already holds the answer (a table screen has
6423
+ * Whether this person may pass this on — `custom.share_grant` asks Edit
6424
+ * ON THE THING (the dialog then offers only the levels `iam.may_grant_as` allows). A caller that already holds the answer (a table screen has
6425
6425
  * the table's rights in its hand) passes it; left out, this asks the store
6426
6426
  * itself for the subject named above. Either way it is an ANSWER and never an
6427
6427
  * assumption, which is the whole of this lane.
package/dist/index.js CHANGED
@@ -38,8 +38,10 @@ var NEEDS = {
38
38
  organise: "editor",
39
39
  // custom.record_delete
40
40
  remove: "editor",
41
- // custom.share_grant — passing your access on is an administrator's right
42
- share: "admin",
41
+ // custom.share_grant — ONE-LADDER (2026-10-10): Edit may pass View / Comment / Edit on inside the
42
+ // organization (iam.may_grant_as, knobs access.sharing/*). Which levels, and to whom, is the share
43
+ // dialog's own question (iam.my_grantable_levels); the Share button only has to open for Edit.
44
+ share: "editor",
43
45
  // custom.field_declare / field_update / field_retire / table settings
44
46
  structure: "admin"
45
47
  };