mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-19 07:07:42 +01:00
33 lines
1.2 KiB
Markdown
33 lines
1.2 KiB
Markdown
Test 2-04 - User View Projects (DB Mode)
|
|
=======
|
|
|
|
# Purpose:
|
|
|
|
To verify that a non-admin user can view projects when 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.
|
|
* There is at least a non-admin user.
|
|
* The user has at least 3 private projects.
|
|
* The registry has at least 3 public repositories.
|
|
|
|
# Test Steps:
|
|
|
|
**NOTE:**
|
|
In below test, user A is non-admin user. User A should be replaced by a longer and meaningful name.
|
|
|
|
1. Log in to UI as user A (non-admin).
|
|
2. Create at least 3 projects if he/she has less than 3 projects.
|
|
3. Switch a few times between "My Projects" and "Public projects" tab, view listed projects and click to check details of images.
|
|
4. Check logs of projects in "My Projects".
|
|
|
|
# Expected Outcome:
|
|
* Step 3, verify the information listed of projects are correctly displayed, such as creation time and role.
|
|
* Step 4, should see logs of the project.
|
|
|
|
# Possible Problems:
|
|
None |