Add Multi-user support for Functional Tests
This commit adds the infrastructure for multi user testing. It also adds a small set of test cases that exercises RBAC policy for secret and container reads. Six users with four roles and two projects are added. In Project A: admin_a, creator_a, observer_a, auditor_a In Project B: admin_b, observer_b Get Secrets and Get Containers are tested for each user. Implements: blueprint add-run-as-for-functional-tests Relates-to: blueprint multi-user-functional-tests Change-Id: I65c820440c014301cfce90d360440d3e12e7ffba
This commit is contained in:
@@ -10,6 +10,23 @@ project_name=admin
|
||||
password=secretadmin
|
||||
domain_name=Default
|
||||
|
||||
[rbac_users]
|
||||
# Replace these values that represent additional users for RBAC testing
|
||||
project_a=project_a
|
||||
project_b=project_b
|
||||
admin_a=project_a_admin
|
||||
admin_a_password=barbican
|
||||
creator_a=project_a_creator
|
||||
creator_a_password=barbican
|
||||
observer_a=project_a_observer
|
||||
observer_a_password=barbican
|
||||
auditor_a=project_a_auditor
|
||||
auditor_a_password=barbican
|
||||
admin_b=project_b_admin
|
||||
admin_b_password=barbican
|
||||
observer_b=project_b_observer
|
||||
observer_b_password=barbican
|
||||
|
||||
[keymanager]
|
||||
|
||||
# use this to run the functional tests against a
|
||||
|
||||
Reference in New Issue
Block a user