harbor/tests/testcases/Group10-Vulnerability/10-07-Non-admin-can-not-scan.md
DQ 590212b485 Remove clair related code
- clair code in harbor core
- clair code in frontend
- clair code in robotcase

Signed-off-by: DQ <dengq@vmware.com>
2020-11-27 14:01:04 +08:00

578 B

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.
  • Harbor is installed with trivy enable.
  • 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