fix(frontend): show database management entry to local users

This commit is contained in:
Codex
2026-08-26 20:08:25 +02:00
parent a701b19a03
commit 410cb547d2
2 changed files with 16 additions and 18 deletions
@@ -121,7 +121,7 @@ test("keeps a live core session connected and returns when that session is opene
expect(FakeEventSource.instances).toHaveLength(1);
});
test("hides database management from users without workspace management permission", () => {
test("shows database management entry to authenticated users without workspace management permission", () => {
clearAuthState();
setAuthState({
issuer: "test",
@@ -135,5 +135,5 @@ test("hides database management from users without workspace management permissi
renderShell();
expect(screen.queryByRole("button", { name: "Database management" })).not.toBeInTheDocument();
expect(screen.getByRole("button", { name: "Database management" })).toBeInTheDocument();
});