Redesign Add/Edit User dialog and add role descriptions#358
Redesign Add/Edit User dialog and add role descriptions#358apodacaduron wants to merge 5 commits into
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Pushed a small fix to the migration on this branch (0bdd5b8), since it is easy to miss on the FE side.
The migration itself is unchanged, it is data-only so ordering does not matter. Mind giving it a quick look when you get a chance? One thing to watch: whichever migration PR merges first wins the head. If #370 lands before this one, this will need re-parenting onto |
Description
Redesigns the Add/Edit User dialog into clearly labeled sections (User Details, Account Status, User Permissions), moves the field-enable pencil icons inline into their inputs, restyles the Group multi-select dropdown to show a description under each role with a checkmark/highlight for selected ones, and adds real descriptive text for the default Admin/DA/Mod roles (replacing the generic "System Role" placeholder) via a data migration. No functional/permission behavior changed — same fields, validations, and API calls as before.
How to Test
flask db upgradeand confirm Admin/DA/Mod roles get updated descriptions (only rows still set to "System Role" are touched).