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