2017-12-14 03:53:42 +01:00
|
|
|
Test 10-07 non-admin can not scan
|
|
|
|
=======
|
|
|
|
|
|
|
|
# Purpose:
|
|
|
|
To verify a non-admin user can not execute scan action.
|
|
|
|
# References:
|
|
|
|
User guide
|
|
|
|
|
|
|
|
# Environment:
|
|
|
|
* This test requires that a Harbor instance is running and available.
|
2020-11-26 10:13:37 +01:00
|
|
|
* Harbor is installed with trivy enable.
|
2017-12-14 03:53:42 +01:00
|
|
|
* A linux host with Docker CLI installed.
|
|
|
|
|
|
|
|
# Test Step
|
|
|
|
|
|
|
|
1. Login harbor as non admin user.
|
|
|
|
2. Create a project.
|
|
|
|
3. Push an image.
|
|
|
|
4. Go to project and expand repo.
|
|
|
|
5. Click tag menu.
|
|
|
|
|
|
|
|
# Expected Outcome:
|
|
|
|
* Step 5 user can not see scan button.
|
|
|
|
|
|
|
|
# Possible Problems:
|
|
|
|
None
|