Remove Admin option from header profile dropdown
User management is now centralized in AuthGuard's webui, so the per-project Admin dialog (user CRUD + require-login toggle) is redundant. The require-login toggle will move to ProjectConfigurator in the future. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
72c3ba028c
commit
07cf3308da
5 files changed
+4
-167
No files matched your search
@@ -16,7 +16,6 @@
|
||||
headerActions,
|
||||
navItems = [],
|
||||
onAbout,
|
||||
onAdmin,
|
||||
onLogout,
|
||||
onNavigate,
|
||||
onProfile,
|
||||
@@ -37,7 +36,6 @@
|
||||
headerActions?: Snippet;
|
||||
navItems?: NavItem[];
|
||||
onAbout?: () => void | Promise<void>;
|
||||
onAdmin?: () => void | Promise<void>;
|
||||
onLogout?: () => void | Promise<void>;
|
||||
onNavigate?: (item: NavItem) => void;
|
||||
onProfile?: () => void;
|
||||
@@ -68,7 +66,6 @@
|
||||
actions={headerActions}
|
||||
{navItems}
|
||||
{onAbout}
|
||||
{onAdmin}
|
||||
{onLogout}
|
||||
{onNavigate}
|
||||
{onProfile}
|
||||
|
||||
Reference in new issue
Block a user