mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-25 18:18:04 +01:00
1.0 KiB
1.0 KiB
Test 1-12 - Admin User Assign and Remove Admin Role to a User.
Purpose:
To verify that Admin user can assign/remove admin role to/from a user.
References:
User guide
Environment:
- This test requires that a Harbor instance is running and available.
- Harbor is set to authenticate against a local database. ( auth_mode is set to db_auth .) The user data is stored in a local database.
Test Steps:
- Log in as the admin user to the UI.
- The admin user should see a list of users in "Admin Options".
- From the list, the admin user assigns system admin role to a user A.
- On a different browser(e.g. if the admin logs in using Chrome, then choose Safari or FireFox ), log in as user A to verify that user A has admin privilege.
- From the list, the admin user removes system admin role from user A.
- On a different browser, refresh the UI to verify user A has no admin privilege any more.
Expected Outcome:
- As described in steps 1-6.
Possible Problems:
None