You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ADR-0090 D3 leftovers in plugin-sharing: sys_record_share role recipient enum + "角色及下级" translations #2724
Two D3 (word-ban / rename) leftovers in `packages/plugins/plugin-sharing`:
`src/objects/sys-record-share.object.ts` (~L138): the `recipient_type` enum is still `['user', 'group', 'role', 'unit_and_subordinates', 'guest']` — the sharing recipient rename (`role` → `position`, ADR-0090 D3) reached `sys_sharing_rule` but not the share-grant table. Stored rows may carry the old value, so this needs a data migration pass, not just an enum edit.
Generated translations still label `unit_and_subordinates` as "角色及下级" (zh-CN) / "ロールと下位階層" (ja-JP) — "role" vocabulary in UI copy, which D3 bans. Source label fix + `i18n-extract` regeneration.
Fix
Migrate `sys_record_share.recipient_type` `'role'` → `'position'` (enum + stamped rows) in the same style as the D1/D4 grandfathering pass.
Update the field labels/descriptions and regenerate the plugin's translation bundles ("业务单元及下级" /「ビジネスユニットと下位階層」).
Found while aligning docs + showcase to ADR-0090 (P4 follow-up).
Activity
feat(showcase,docs): ADR-0090 permission-model zoo + full docs alignm…
fix(security)!: ADR-0090 follow-ups — driver tenant wall, batch-inser…
os-zhuang commentedon Jul 10, 2026
Fixed in #2745 (merged): see the PR body for the root cause and verification (fresh-boot browser dogfood + full suite green).
feat(spec)!: resolve the three cross-form dual-source names (objectst…