mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-24 01:27:49 +01:00
31 lines
1.0 KiB
Markdown
31 lines
1.0 KiB
Markdown
|
Test 3-21 - Admin Role User Manages Project Members (DB Mode)
|
||
|
=======
|
||
|
|
||
|
# Purpose:
|
||
|
|
||
|
To verify that a user with system admin role can add members of various roles to a project. Users are managed locally by Harbor (DB mode).
|
||
|
|
||
|
# 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.
|
||
|
* A linux host with Docker CLI installed (Docker client).
|
||
|
* At least three non-admin users are in Harbor.
|
||
|
* At least one project that admin user is not a member of.
|
||
|
|
||
|
# Test Steps:
|
||
|
|
||
|
**NOTE:** The below non-admin user M should NOT be the same as the non-admin user in Test 3-11.
|
||
|
|
||
|
1. Assign an non-admin user M with system admin role and act as an admin user.
|
||
|
2. Repeat all steps in Test 3-11.
|
||
|
|
||
|
# Expected Outcome:
|
||
|
|
||
|
* A user with system admin role can perform all operations the same as the admin user.
|
||
|
* Same as Test 3-11.
|
||
|
|
||
|
# Possible Problems:
|
||
|
None
|