Issue 1. (FE)
User has add_role and view_role privileges
Click on "Lisa uus roll"
Click outside the "Kirjuta uus roll siia..." field or mark checkboxes
Actual: User cannot add role name for new role after clicking outside the textbox.
So, if user have marked many checkboxes before entering role name, user cannot save this anymore and have to start again.
Actual: Entered role name and selected privileges disappears but there is still new role tab visible. User cannot enter new name for this role anymore (check previous issue).
Expected:
Wiki 2.1.7 User decides not to save the role and clicks "Cancel"
New role is not saved, table remains like before starting the addition of the new role.
Added new empty role should disappear then? (by Marius: delete button for removing empty role) - Should fix delete button functionality
issue 3. (FE)
Is it possible to make the buttons active immediately after changing the name?
If user has edited the name of the role, but has not pressed enter or added privileges, the "Tühista" and "Save" buttons are inactive (but clickable) Video (low?)
issue 4. (BE)
Create role with name "asd"
Create role with name "123"
Change the role asd name to 123
Actual: User sees error - Request failed with status code 500
Expected: Show better error for end-user.
Issue 1. (FE) User has add_role and view_role privileges
Actual: User cannot add role name for new role after clicking outside the textbox. So, if user have marked many checkboxes before entering role name, user cannot save this anymore and have to start again.
Issue 2. (FE) - Duplicate: https://github.com/keeleinstituut/tv-tolkevarav/issues/407 User has add_role and view_role privileges
Actual: Entered role name and selected privileges disappears but there is still new role tab visible. User cannot enter new name for this role anymore (check previous issue). Expected: Wiki 2.1.7 User decides not to save the role and clicks "Cancel" New role is not saved, table remains like before starting the addition of the new role. Added new empty role should disappear then? (by Marius: delete button for removing empty role) - Should fix delete button functionality
issue 3. (FE) Is it possible to make the buttons active immediately after changing the name? If user has edited the name of the role, but has not pressed enter or added privileges, the "Tühista" and "Save" buttons are inactive (but clickable) Video (low?)
issue 4. (BE)