|
10 | 10 | * ("disable + clone", landed machinery that converges later — §8) and |
11 | 11 | * pre-charts `position` there: disabling is one `active` bit of |
12 | 12 | * deployment-level state in the tenant-less activation ledger |
13 | | - * `sys_metadata_activation`, written by the enable/disable doors. Measured on |
14 | | - * objectstack `main` for objectui#7611: the ledger has exactly two write |
15 | | - * doors, `POST /automation/:name/toggle` and |
16 | | - * `POST /actions/_activation/:object/:action`, and each fixes its own |
17 | | - * `metadata_type` (`flow`, `action`), so neither accepts `permission` or |
18 | | - * `position`; and the authorization resolver still reads the row's flag |
19 | | - * (`isRowActive`). Until the server opens a ledger door for the two types and |
20 | | - * moves its consult point onto it, a switch wired to the ledger would flip a |
21 | | - * bit nothing reads. |
| 13 | + * `sys_metadata_activation`, written by the enable/disable doors. |
22 | 14 | * |
23 | | - * So the switch keeps TODAY's behaviour: the row's `active` column through |
24 | | - * the data door, which is exactly what the Setup object pages' Activate and |
25 | | - * Deactivate actions write (`PATCH /api/v1/data/<object>/<id>` with |
26 | | - * `{ active }`). The data door decides who may write it — measured: the |
27 | | - * platform administrator may, an organization administrator is refused. |
| 15 | + * The two halves of that move land separately on the server, and this seam |
| 16 | + * sits between them: |
| 17 | + * |
| 18 | + * - **The reader has moved.** From objectstack's ADR-0131 stage 1 |
| 19 | + * (objectstack#15204) the authorization resolver reads a position's or a |
| 20 | + * permission set's deactivation from the ledger only, and reads neither |
| 21 | + * catalog row's `active` column. On such a framework the flag this module |
| 22 | + * writes no longer switches a grant off (measured for objectui#7611 on a |
| 23 | + * stage-1 showcase: a holder's resolved grants were unchanged after the |
| 24 | + * switch). On a framework from before stage 1, the resolver reads the row |
| 25 | + * flag and the switch takes effect. |
| 26 | + * - **The write door has not.** No ledger door accepts `permission` or |
| 27 | + * `position` yet: the two that exist, `POST /automation/:name/toggle` and |
| 28 | + * `POST /actions/_activation/:object/:action`, each fix their own |
| 29 | + * `metadata_type` (`flow`, `action`). The door for these two types is |
| 30 | + * objectstack#15204 stage 2c. |
| 31 | + * |
| 32 | + * So the switch keeps the behaviour of the Setup object pages' Activate and |
| 33 | + * Deactivate actions: the row's `active` column through the data door |
| 34 | + * (`PATCH /api/v1/data/<object>/<id>` with `{ active }`). The data door |
| 35 | + * decides who may write it — measured: the platform administrator may, an |
| 36 | + * organization administrator is refused. When the ledger door lands, this |
| 37 | + * module moves onto it (objectui#7611's follow-up). |
28 | 38 | * |
29 | 39 | * ## Why this is a seam and not a second list |
30 | 40 | * |
|
0 commit comments