AS AN ADMIN
I WANT TO be able to change the role of Users from ADMIN to USER or vice-versa
SO THAT I CAN CONTROL who has access to specific parts of the application.
Acceptance Criteria:
[ ] Role can be changed by ADMIN in the USERS TABLE by clicking on 'Muuda' at the end of the row behind each user
[ ] Modal opens and Role can be picked from a dropdown, after clicking 'Kinnita' new role is assigned to user
[ ] What happens to someone that has ADMIN role and is logged in to a part of the system only meant for ADMINS, and now their role is changed to USER? Are they kicked out immediately or at just next login can't access those parts?
[ ] Does the active User whose role is change need to refresh their page to see changes?
AS AN ADMIN I WANT TO be able to change the role of Users from ADMIN to USER or vice-versa SO THAT I CAN CONTROL who has access to specific parts of the application.
Acceptance Criteria: