Repository navigation
Commit 090927f
docs(adr-0056): reconcile Consequences with the P2/P4 pure model (#5970)
Two bullets in ADR-0056's Consequences still described the original
Option B (capabilities editable in Setup as an exception), contradicting
P2, P4, and Decision 3/4 of the same file:
- "Capabilities are authored once, in Setup, through the `sys_capability`
picker" — P2 says capabilities are designed in the structured editor,
"not authored in Setup", and the code agrees: the picker
(CapabilityMultiSelectField) is rendered by Studio's
PermissionMatrixEditor, while Setup stamps the read-only
`permission-facet-link` widget on all six facets including
`system_permissions`.
- "hence P2 keeps that grant in Setup and first-class", preceded by "an
admin who ... lacks `studio.access` can no longer *design* them" —
Decision 1/3 and A2 (revised) settle the opposite: the same editor has
two entry points, and Setup's env-scope metadata route runs under
`setup.access`, which is what dissolves the bootstrap knot.
Prose only; no code, no schema, no other file.
Claude-Session: https://claude.ai/code/session_01CSoz9uGhaaSgiq3hshtN7L
Co-authored-by: Claude <noreply@anthropic.com>1 parent 7ccb53a commit 090927f
1 file changed
Lines changed: 12 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
225 | | - | |
226 | | - | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
227 | 228 | | |
228 | 229 | | |
229 | 230 | | |
| |||
240 | 241 | | |
241 | 242 | | |
242 | 243 | | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
247 | 253 | | |
248 | 254 | | |
249 | 255 | | |
| |||
0 commit comments