Merge pull request 'feat: add 'agent' to API key role options' (#4) from feat/agent-role into main

Reviewed-on: #4
This commit was merged in pull request #4.
This commit is contained in:
h z
2026-05-17 14:10:05 +00:00

View File

@@ -12,7 +12,7 @@ import { Button } from '../ui/button';
import { Input, Label } from '../ui/input';
// Must match the backend allowlist (admin|creator|user).
const AVAILABLE_ROLES = ['user', 'creator', 'admin'];
const AVAILABLE_ROLES = ['user', 'creator', 'agent', 'admin'];
const SELECT_CLASS =
"flex h-9 w-full rounded-md border border-input bg-background/60 px-3 py-1 text-sm text-foreground transition-colors focus-visible:outline-none focus-visible:border-primary/60 focus-visible:ring-2 focus-visible:ring-ring/40 disabled:cursor-not-allowed disabled:opacity-50";