[FEATURE]: Role CRUD LiveViews #325
Labels
No labels
bug
duplicate
enhancement
help wanted
high priority
invalid
L
low priority
M
medium priority
needs refinement
optional
question
S
UX research
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: local-it/mitgliederverwaltung#325
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description:
Create LiveView interface for administrators to manage roles. Only admins should be able to access this.
Tasks:
lib/mv_web/live/role_live/directoryindex.ex- List all rolesshow.ex- View role detailsform.ex- Create/Edit role form componentrouter.exunder/adminscopepermission_set_name(dropdown with 4 options)Acceptance Criteria:
permission_set_nameis dropdown (not free text)/admin/rolesTest Strategy (TDD):
LiveView Mount Tests:
CRUD Operation Tests:
permission_set_nameshows errorpermission_set_namesucceedsUI Rendering Tests:
Test File:
test/mv_web/live/role_live_test.exs