Three tests cover the storage and access boundary: - A client manager cannot list the settings collection at all (rules are superuser-only — verified by the rejection, not by silent skip). - The settings page HTML returned to the owner does not contain the key value, even when the key is freshly set to a unique sentinel. - A client manager gets 404 on /admin/settings (admin layout gates on role, not on session presence). helpers.ts gained ownerEmail / ownerPassword — needed by the settings test and reusable for any owner-only integration test going forward. |
||
|---|---|---|
| .. | ||
| activity-log.test.ts | ||
| admin.test.ts | ||
| ai-settings.test.ts | ||
| client-permissions.test.ts | ||
| helpers.ts | ||
| ingest.test.ts | ||
| linking.test.ts | ||
| metrics.test.ts | ||
| owner-actions.test.ts | ||
| user-rules.test.ts | ||