Skip to content

Commit e12bfec

Browse files
committed
chore(changeset): plugin-sharing patch for the record share recipient face
Claude-Session: https://claude.ai/code/session_01UmqzD97e14iws6hmVhgZ5y Co-authored-by: Claude <noreply@anthropic.com>
1 parent 6cb4161 commit e12bfec

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
'@objectstack/plugin-sharing': patch
3+
---
4+
5+
fix(plugin-sharing): a record share's Recipient column names the recipient instead of drawing its raw id
6+
7+
Clause-②: no
8+
9+
- **`sys_record_share.recipient_id` declares `widget: 'recipient-picker'` and `dependsOn: ['recipient_type']`**, the display declaration `sys_sharing_rule.recipient_id` already carries. The console draws a field with this widget by naming the stored id through the row's `recipient_type`, so a user grant reads as the user's name in a list that shows the Recipient Type column beside it (Setup → Record Shares → All). A list that does not fetch `recipient_type` still draws the stored id.
10+
- **`object_name` is not a dependency here**: the face reads it only for the `field` recipient kind, which a record share cannot store.
11+
- **Unchanged:** `recipient_id` stays the same required text column, the object stays engine-owned and read-only through the data API, and `grant()` stays the only writer of a share row.
12+
13+
A patch: one display hint on one field of a shipped platform object. No export, type, accepted value, stored column or authorable key changes.

0 commit comments

Comments
 (0)