Repository navigation
Commit ef18030
docs(approvals): qualify the
`{ type: 'manager' }` is the canonical first rung of a tiered approval ladder
and the type the docs reach for first, but it resolves `sys_user.manager_id` —
a column with no product write surface. An app that authors it passes
`validate` and `lint`, then opens its first request with an empty slate and
waits forever; with the default `lockRecord: true` the record stays locked.
Nothing on the authoring path said so. Three prose additions, no behaviour
change:
- `content/docs/automation/approvals.mdx` — a `manager` callout beside the
existing `position` vs `org_membership_level` one, carrying the remedy text
verbatim from `@objectstack/lint`'s `MANAGER_ONLY_REMEDY` +
`MANAGER_ONLY_ROUTES` so the two statements cannot drift; a pointer from the
"who approves" sentence that first offers the type; and a clause in the
resolve-by-kind paragraph, which listed `manager` unqualified next to the
kinds it already grades.
- `content/docs/capabilities/approvals.mdx` — the capability list offered "the
submitter's direct manager" as a peer of styles that are configured
in-product. Qualified in place.
The routes are stated as measured, not as a promise: a seed or other
system-context write is the one route with a writer in-repo; SCIM and directory
sync are named as something the deployment's own provisioning supplies, because
this platform declares the SCIM `manager` attribute without projecting it and
its admin bulk import excludes the column deliberately.
Claude-Session: https://claude.ai/code/session_01ToDPcx9AESFubJkDiFMtKW
Co-authored-by: claude <noreply@anthropic.com>manager approver as a directory-sync dependency (#17575)1 parent 40098a4 commit ef18030
2 files changed
Lines changed: 39 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
66 | 89 | | |
67 | 90 | | |
68 | 91 | | |
| |||
303 | 326 | | |
304 | 327 | | |
305 | 328 | | |
306 | | - | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
307 | 332 | | |
308 | 333 | | |
309 | 334 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
12 | 23 | | |
13 | 24 | | |
14 | 25 | | |
| |||
0 commit comments