Repository navigation
Commit fa23d69
test(qa): re-sync the authz-matrix sharing-rules recipient summary with the authorable enum (#17465)
* test(qa): re-sync the authz-matrix sharing-rules row with the authorable recipient enum
The `sharing-rules` row enumerated five recipients; `ShareRecipientType` has
carried six since the `field` kind became enforced. Two corrections, both
inside the row:
- `summary` now transcribes the authorable enum member-for-member in
declaration order (user/team/position/unit_and_subordinates/business_unit/
field), marking `field` as per-record. `queue` stays out: it is reserved,
expands to [] and is not authorable, so naming it on an `enforced` row
would make the row false in the other direction.
- `enforcement` claimed "every authorable recipient expands in
expandRecipient". That is now false: `field` deliberately does NOT expand
there — expandRecipient throws for it, and the per-record pairs are derived
in desiredGrantsForRule / expandRecipientForRecord. The prose now names the
real split.
A new `note` records the stance the card asked for: these summaries are
exhaustive, not indicative. Measured across the file — 0 of 49 summaries
hedge, and the closest twin (`scope-depth`) transcribes ObjectAccessScopeSchema
member-for-member — so the drift was a defect rather than a stylistic gap, and
declaring the summaries indicative was refused because it would retro-weaken
the 16 rows that enumerate.
Nothing mechanical reads these strings; the row is hand-maintained.
Claude-Session: https://claude.ai/code/session_01DapQyvYrFb1MxSYe7BL2nt
Co-authored-by: Claude <noreply@anthropic.com>
* test(qa): keep the tracker ids out of the sharing-rules row's strings
`check:doc-authoring` reds on new internal issue ids in sibling-package string
prose: a ledger string reaches readers who cannot resolve `#NNNN`, and its
baseline is shrink-only (adding an entry is maintainer-only, so that route was
not taken). The ids move to the adjacent `//` comment the gate prescribes,
where the reader who can resolve them already is.
Claude-Session: https://claude.ai/code/session_01DapQyvYrFb1MxSYe7BL2nt
Co-authored-by: Claude <noreply@anthropic.com>
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent 2a79726 commit fa23d69
1 file changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
321 | | - | |
322 | | - | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
323 | 331 | | |
324 | 332 | | |
325 | 333 | | |
| |||
0 commit comments