AS an admin I want to be able to assign a user to a role
SO THAT that user can access privileges for that role
Acceptance Criteria
AS an admin
GIVEN I am on the edit user page
WHEN I click the "Assign Roles" button
THEN a new model should show up
AND I should see a list of available roles
AND already assigned roles should be pre-checked
AS an admin
GIVEN I am on the assign roles model
WHEN I click on the checkbox on a role
THEN this role should be toggled
AS an admin
GIVEN I am on the assign roles model
AND I have made changes
WHEN I click on the submit button
THEN the user should be reassigned to the roles I checked only
AS an admin I want to be able to assign a user to a role SO THAT that user can access privileges for that role
Acceptance Criteria
AS an admin GIVEN I am on the edit user page WHEN I click the "Assign Roles" button THEN a new model should show up AND I should see a list of available roles AND already assigned roles should be pre-checked
AS an admin GIVEN I am on the assign roles model WHEN I click on the checkbox on a role THEN this role should be toggled
AS an admin GIVEN I am on the assign roles model AND I have made changes WHEN I click on the submit button THEN the user should be reassigned to the roles I checked only
Subtasks
Notes