Unified · Split
| @@ -100,6 +100,7 @@ describe("protected API key auth", () => { · 99 unmodified lines | |||
| 100 | roles: [], | 100 | roles: [], |
| 101 | // The stub membership carries no role slug — normalization FAILS | 101 | // The stub membership carries no role slug — normalization FAILS |
| 102 | // CLOSED to plain member, so the executor binds workspace writes off. | 102 | // CLOSED to plain member, so the executor binds workspace writes off. |
| 103 | orgRoleModel: "organization", | ||
| 103 | orgRole: "member", | 104 | orgRole: "member", |
| 104 | }); | 105 | }); |
| 105 | }), | 106 | }), |
| @@ -121,6 +121,7 @@ describe("protected JWT (device-login) auth", () => { · 120 unmodified lines | |||
| 121 | roles: [], | 121 | roles: [], |
| 122 | // The stub membership carries no role slug — normalization FAILS | 122 | // The stub membership carries no role slug — normalization FAILS |
| 123 | // CLOSED to plain member, so the executor binds workspace writes off. | 123 | // CLOSED to plain member, so the executor binds workspace writes off. |
| 124 | orgRoleModel: "organization", | ||
| 124 | orgRole: "member", | 125 | orgRole: "member", |
| 125 | }); | 126 | }); |
| 126 | }), | 127 | }), |