keeleinstituut / tv-tolkevarav

Tõlkevärav (Translation Hub)
1 stars 0 forks source link

Show roles in activating the user view and in adding new user view (FE) #424

Open plakitkelly opened 1 year ago

plakitkelly commented 1 year ago

Case 1 Preconditions: User has activate_user privilege but doesn't have view_role privilege. Another user has deactivated

Steps: Click on "Aktiveeri" button Choose roles

Actual: User cannot choose the role

Expected: view_role should be for "Rollihaldus" table, not activating the user

image


Case2 Preconditions: User has add_user privilege but doesn't have view_role privilege

Steps: upload csv file

Actual: Role's column is empty, save button is disabled image


Case 3 Preconditions: User has add_user privilege but doesn't have view_role privilege I have csv file that contains a role name that doesn't exist in system

Actual: Can't see any roles in the dropdown image

MariusJulius commented 1 year ago

BE task: https://github.com/keeleinstituut/tv-tolkevarav/issues/457