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
sharing rules: the recipient guard does not judge two re-point cases (organization_id-only update, and a full-form move that re-sends the same user) #39387
Part of #38254 · review follow-up of PR #39361 (zone ACCEPT 7385421916).
Governing text: PR #39361's rule that the Setup data door refuses a sharing rule whose recipient is invalid.
Filing gate: ③ a follow-up the reviewed change owes. Grading: area:data · domain:server · Task · p3.
What is owed
The recipient guard does not judge two re-point cases:
an update that changes only organization_id (packages/plugins/plugin-sharing/src/rule-hooks.ts, about line 482);
a full-form save that moves the rule and re-sends the same user (same file, about line 488).
Both can be reached only under group posture or with no wall. After PR #39361 merges, judge the recipient again whenever the rule's organization or target moves, and pin both cases.
Re-check: sed -n 470,500p packages/plugins/plugin-sharing/src/rule-hooks.ts
Triage: lands in area:data · domain:server · Task · p3 · pm:queue · size S, touched 2026-12-03T17:11Z. Rationale: the filer's grade stands. This is a review follow-up PR #39361 owes under #38254: two re-point cases of a sharing rule are not judged again. Both are reachable only under one posture, and the work is pinning them.
Grade: area:data · Task · p3 · sharing-rule authors under group posture or no wall · read.
Activity
/api/v1/data/sys_sharing_rule(the Setup form) still stores auserrecipient no user carries, whichdefineRulenow refuses #38254objectstack-fleet commentedon Dec 3, 2026
triage@hotlong · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in area:data · domain:server · Task · p3 · pm:queue · size S, touched 2026-12-03T17:11Z. Rationale: the filer's grade stands. This is a review follow-up PR #39361 owes under #38254: two re-point cases of a sharing rule are not judged again. Both are reachable only under one posture, and the work is pinning them.
Grade: area:data · Task · p3 · sharing-rule authors under
groupposture or no wall · read.