Add Super Viewer read-only administrator role
CI / checks (push) Successful in 5m40s

This commit is contained in:
2026-10-11 23:30:40 -04:00
parent 253d47300c
commit 4ea291d305
48 changed files with 1684 additions and 933 deletions
+10
View File
@@ -26,3 +26,13 @@ it('keeps the navigation palette useful for viewers without offering write actio
expect(body).not.toContain('Create server');
expect(body).not.toContain('Add host');
});
it('includes administration pages for Super Viewers without write actions', () => {
const body = render(CommandPalette, { props: { open: true, role: 'super_viewer' } }).body;
expect(body).toContain('Settings');
expect(body).toContain('Users');
expect(body).toContain('Keys');
expect(body).not.toContain('Create server');
expect(body).not.toContain('Manage servers');
expect(body).not.toContain('Add host');
});