keystone/keystone/tests/unit/protection/v3
Lance Bragstad 31eecfb2a4 Add tests for domain users interacting with roles
This commit adds explicit tests that show how domain users
are expected to behave with global roles. A subsequent patch
will do the same for project users.

Note that these changes are slightly different from the
policy.v3cloudsample.json role policies. In policy.v3cloudsample.json,
domain users were allowed to get and list global roles. So were
project users. This behavior is changing because global roles are
considered global resources of the deployment, and they should be
managed by system users. Domain users should be able to add and remove
domain specific roles, which will come in a subsequent series of
patches. This approach is being taken because it is a safer default
for a system level resource (roles) and still allows the same
functionality for domain users through domain-specific roles.

Change-Id: Ia1a7adf4431042ecea1b41e3c589c55112183ab5
Partial-Bug: 1806713
Partial-Bug: 1805400
2019-02-27 21:56:15 +00:00
..
__init__.py Implement scope_type checking for credentials 2018-10-29 15:01:29 +00:00
test_credentials.py Implement scope_type checking for credentials 2018-10-29 15:01:29 +00:00
test_domains.py Allow project users to retrieve domains 2019-01-21 20:46:05 +00:00
test_endpoints.py Add tests for project users interacting with endpoints 2019-01-08 22:32:50 +00:00
test_identity_providers.py Add tests for project users interacting with idps 2019-01-08 22:15:51 +00:00
test_limits.py Update limit policies for system admin 2019-01-09 14:56:48 +00:00
test_mappings.py Add tests for project users interacting with mappings 2019-02-19 01:48:36 +00:00
test_projects.py Implement system admin role in project API 2019-01-07 20:48:11 +00:00
test_regions.py Add tests for project users interacting with regions 2019-02-11 17:51:10 +00:00
test_registered_limits.py Add tests for project users interacting with registered limits 2019-01-08 18:16:48 +00:00
test_roles.py Add tests for domain users interacting with roles 2019-02-27 21:56:15 +00:00
test_service_providers.py Add tests for project users interacting with sps 2019-01-04 17:59:07 +00:00
test_services.py Add tests for domain users interacting with services 2019-02-22 16:54:13 +00:00
test_users.py Implement system admin role in users API 2019-02-04 19:56:01 +00:00