remove incorrect constraint for viewer as username

should be able to change anyone's role other than admin
This commit is contained in:
Josh Hawkins 2025-11-28 14:46:21 -06:00
parent cc76a57ce5
commit 6c172ed095

View File

@ -478,8 +478,7 @@ export default function AuthenticationView({
<TableCell className="text-right">
<TooltipProvider>
<div className="flex items-center justify-end gap-2">
{user.username !== "admin" &&
user.username !== "viewer" && (
{user.username !== "admin" && (
<Tooltip>
<TooltipTrigger asChild>
<Button