3bcbf72ad6e4c6ce7c35e3df684f0b3b711dbcfe
All checks were successful
Build and Push Docker Image / build (push) Successful in 7m55s
The previous Additional Roles grid laid every role option out as a row of checkboxes regardless of assignment, which made unchecked roles look like roles the user already had — admins almost toggled the wrong role on the wrong user (e.g. nearly granting JURY_MEMBER when looking at an AWARD_MASTER). New layout shows only the roles a user actually has, as removable badges with an X. A "Manage roles" dropdown next to them surfaces the full role list as DropdownMenuCheckboxItems (assigned ones are checked, the primary role is excluded). Toggling any item opens an AlertDialog with add/remove-specific copy that names the user and the dashboard being granted/revoked, so the click is impossible to misread. The change is staged into local additionalRoles state — same flow as before — and persisted on Save. Modal copy spells this out so the admin knows the action isn't applied until they click Save below. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Description
No description provided
Languages
TypeScript
99.5%
JavaScript
0.2%
Shell
0.2%
CSS
0.1%