mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-30 04:28:17 +01:00
30 lines
954 B
Markdown
30 lines
954 B
Markdown
|
Test 4-05 - User with Admin Role Views Logs (LDAP Mode)
|
||
|
=======
|
||
|
|
||
|
# Purpose:
|
||
|
|
||
|
To verify that a user with system admin role can views logs when users are managed externally by LDAP or AD (LDAP mode).
|
||
|
|
||
|
# References:
|
||
|
User guide
|
||
|
|
||
|
# Environment:
|
||
|
* This test requires that a Harbor instance is running and available.
|
||
|
* Harbor is set to authenticate against an LDAP or AD server. ( auth_mode is set to **ldap_auth** .) The user data is stored in an LDAP or AD server.
|
||
|
* A linux host with Docker CLI installed (Docker client).
|
||
|
|
||
|
# Test Steps:
|
||
|
|
||
|
**NOTE:** The below non-admin user A should NOT be the same as the non-admin user in Test 4-03.
|
||
|
|
||
|
1. Assign an non-admin user M with system admin role and act as an admin user.
|
||
|
2. Repeat all steps in Test 4-03.
|
||
|
|
||
|
|
||
|
# Expected Outcome:
|
||
|
|
||
|
* A user with system admin role can perform all operations the same as the admin user.
|
||
|
* Outcome should be the same as Test 4-03.
|
||
|
|
||
|
# Possible Problems:
|
||
|
None
|