2017-03-14 09:28:52 +01:00
|
|
|
Test 8-02 -Update-project-restrict
|
2017-03-14 09:14:47 +01:00
|
|
|
=======
|
|
|
|
|
|
|
|
# Purpose:
|
|
|
|
|
|
|
|
To verify that an admin user can update project restrict.
|
|
|
|
|
|
|
|
# References:
|
|
|
|
User guide
|
|
|
|
|
|
|
|
# Environment:
|
|
|
|
* This test requires that a Harbor instance is running and available.
|
|
|
|
* A linux host with Docker CLI installed (Docker client).
|
|
|
|
|
|
|
|
# Test Steps:
|
|
|
|
|
2017-04-21 04:36:07 +02:00
|
|
|
1. Login UI as admin user.
|
|
|
|
2. In configuration page, change Project Creation Restriction from everyone to admin only.
|
|
|
|
3. Logout admin user.
|
|
|
|
4. Login as non-admin user.
|
|
|
|
5. Try to add a project.
|
2017-03-14 09:14:47 +01:00
|
|
|
|
|
|
|
# Expected Outcome:
|
|
|
|
|
2017-04-21 04:36:07 +02:00
|
|
|
* In step5, non-admin user will not see the add project button.
|
2017-03-14 09:14:47 +01:00
|
|
|
|
|
|
|
# Possible Problems:
|
|
|
|
None
|