Rollen Chunk 7: Benutzerverwaltung und Sicherung strikt Admin-only
This commit is contained in:
1 parent
601cbacea7
commit
9e6b7348bb
1 file changed
+2
-2
@@ -25,14 +25,14 @@ describe("auth-client", () => {
|
||||
mode: "password",
|
||||
ssoEnabled: false,
|
||||
setupRequired: false,
|
||||
user: { email: "loki@example.org", role: "admin" },
|
||||
user: { id: "u-1", email: "loki@example.org", role: "admin" },
|
||||
})));
|
||||
await expect(getAuthStatus()).resolves.toEqual({
|
||||
enabled: true,
|
||||
mode: "password",
|
||||
ssoEnabled: false,
|
||||
setupRequired: false,
|
||||
user: { email: "loki@example.org", role: "admin" },
|
||||
user: { id: "u-1", email: "loki@example.org", role: "admin" },
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user