keystone/keystone/tests/unit
Lance Bragstad cdbdcf85f7 Update endpoint policies for system admin
The endpoint policies were not taking the default roles work we did
last release into account. This commit changes the default policies
to rely on the ``admin`` role to create and delete endpoints.
Subsequent patches will incorporate:

 - domain user test coverage
 - project user test coverage

Change-Id: Ia6dc4526ece07e7fee614ec91b0953db8f180c2e
Related-Bug: 1804482
Closes-Bug: 1804483
2019-01-08 22:32:20 +00:00
..
application_credential Convert auth to flask native dispatching 2018-10-09 23:23:03 -07:00
assignment Add caching on trust role validation to improve performance 2018-10-19 11:03:09 +02:00
auth Move validate_issue_token_auth from controllers 2018-08-01 16:57:16 +00:00
backend Finish refactoring self.*_api out of tests 2018-02-05 23:26:08 +00:00
catalog Region update extra support 2018-11-07 22:57:11 +00:00
common Emit CADF notifications on authentication for invalid users 2018-10-25 17:43:37 -07:00
config_files Remove LDAP write support 2017-01-21 21:32:07 -05:00
contrib Convert auth to flask native dispatching 2018-10-09 23:23:03 -07:00
credential Revert "Rename fernet_utils to token_utils" 2018-06-06 16:49:27 +12:00
endpoint_policy Fixes remaining nits in endpoint_policy tests 2016-11-15 20:03:47 +00:00
external Replace parse_strtime with datetime.strptime 2017-12-21 12:14:28 -06:00
federation Enable foreign keys for unit test 2018-10-09 09:50:21 +08:00
identity Merge "Bump sqlalchemy minimum version to 1.1.0" 2018-11-27 21:56:16 +00:00
ksfixtures Replace usage of get_legacy_facade() with get_engine() 2018-11-06 14:17:00 +07:00
limit Delete project limits when deleting project 2018-07-19 03:49:45 +00:00
policy Finish refactoring self.*_api out of tests 2018-02-05 23:26:08 +00:00
protection Update endpoint policies for system admin 2019-01-08 22:32:20 +00:00
receipt Implement auth receipts spec 2018-11-02 15:06:19 +01:00
resource Remove useless "clean" file 2018-10-25 14:09:23 +08:00
saml2 Add openstack_user_domain to assertion 2015-05-04 14:33:48 -03:00
server Correct HTTP OPTIONS method 2018-11-09 19:21:44 -08:00
tests Adds a skip method to identify useless skips 2016-06-29 19:48:12 +00:00
token Enable foreign keys for unit test 2018-10-09 09:50:21 +08:00
trust Adding 'date' for trust_flush 2018-10-23 15:13:15 +05:30
__init__.py Remove i18n.enable_lazy() translation 2018-12-14 10:30:17 +00:00
base_classes.py Merge "Implement auth receipts spec" 2018-11-02 18:30:44 +00:00
core.py Move test utility to common location 2018-11-28 14:53:30 +00:00
default_catalog.templates Remove/update v2 catalog endpoint tests 2017-10-21 16:45:12 -05:00
default_catalog_multi_region.templates Fixing multi-region support in templated v3 catalog 2018-03-13 11:10:08 -07:00
default_fixtures.py Force SQLite to properly deal with foreign keys 2018-02-14 16:54:15 +00:00
fakeldap.py Add a hacking rule for string interpolation at logging 2017-07-18 14:11:28 +08:00
federation_fixtures.py Move existing tests to unit 2015-02-13 15:54:29 -06:00
filtering.py Finish refactoring self.*_api out of tests 2018-02-05 23:26:08 +00:00
identity_mapping.py Use the new enginefacade from oslo.db 2016-02-24 08:20:12 -08:00
mapping_fixtures.py Update test case for federation 2017-05-19 10:54:15 +08:00
rest.py Enable foreign keys for unit test 2018-10-09 09:50:21 +08:00
test_app_config.py Cleanup test_wsgi 2018-10-11 15:27:46 -07:00
test_associate_project_endpoint_extension.py Refactor self.*_api out of tests 2018-02-03 00:14:40 +00:00
test_auth_plugin.py Convert auth to flask native dispatching 2018-10-09 23:23:03 -07:00
test_backend_endpoint_policy.py Finish refactoring self.*_api out of tests 2018-02-05 23:26:08 +00:00
test_backend_endpoint_policy_sql.py Enable foreign keys for unit test 2018-10-09 09:50:21 +08:00
test_backend_federation_sql.py Require domain_id when registering Identity Providers 2017-01-06 16:05:12 +00:00
test_backend_id_mapping_sql.py Increase test coverage of entity_type id mapping query 2018-07-13 21:42:07 +00:00
test_backend_ldap.py Add caching on trust role validation to improve performance 2018-10-19 11:03:09 +02:00
test_backend_ldap_pool.py Convert auth to flask native dispatching 2018-10-09 23:23:03 -07:00
test_backend_rules.py Split policy backend tests 2016-03-04 15:32:42 -03:00
test_backend_sql.py Drop the compatibility password column 2018-11-12 02:38:31 +00:00
test_backend_templated.py Region update extra support 2018-11-07 22:57:11 +00:00
test_cli.py Merge "Adding 'date' for trust_flush" 2018-10-23 17:23:41 +00:00
test_config.py Remove pastedeploy 2018-06-06 19:30:26 +00:00
test_contrib_ec2_core.py Convert S3 and EC2 auth to flask native dispatching 2018-10-11 15:27:46 -07:00
test_contrib_s3_core.py Convert S3 and EC2 auth to flask native dispatching 2018-10-11 15:27:46 -07:00
test_contrib_simple_cert.py Ensure HEAD is supported with simple cert 2017-06-13 16:03:38 +00:00
test_driver_hints.py Use assertTrue/False instead of assertEqual(T/F) 2015-11-02 09:10:38 +00:00
test_entry_points.py Internally defined middleware don't use stevedore 2018-10-11 15:27:46 -07:00
test_exception.py Remove pre-flask legacy code 2018-10-15 10:56:26 -07:00
test_hacking_checks.py Use pycodestyle in place of pep8 2018-11-20 17:16:01 +00:00
test_healthcheck.py add unit tests for healthcheck 2018-10-11 08:34:37 -07:00
test_ldap_livetest.py Refactor self.*_api out of tests 2018-02-03 00:14:40 +00:00
test_ldap_pool_livetest.py Convert auth to flask native dispatching 2018-10-09 23:23:03 -07:00
test_ldap_tls_livetest.py Refactor self.*_api out of tests 2018-02-03 00:14:40 +00:00
test_limits.py Use common system role definitions for registered limits 2018-12-19 22:17:28 +00:00
test_middleware.py Remove pre-flask legacy code 2018-10-15 10:56:26 -07:00
test_policy.py Remove obsolete credential policies 2018-10-30 13:25:24 +00:00
test_receipt_provider.py Implement auth receipts spec 2018-11-02 15:06:19 +01:00
test_revoke.py Remove unused revoke_by_user_and_project 2018-09-14 04:08:01 +00:00
test_shadow_users.py Enable foreign keys for unit test 2018-10-09 09:50:21 +08:00
test_sql_banned_operations.py Work around deprecations for opportunistic tests 2018-02-27 13:46:27 +00:00
test_sql_upgrade.py Drop the compatibility password column 2018-11-12 02:38:31 +00:00
test_token_provider.py Cleanup keystone.token.providers.common 2018-07-13 14:49:07 +00:00
test_url_middleware.py Convert Normalizing filter to flask native Middleware 2018-10-11 15:27:46 -07:00
test_v3.py Remove deprecated "bind" in token 2018-11-09 07:22:52 +05:30
test_v3_application_credential.py Convert /v3/users to flask native dispatching 2018-10-11 15:27:45 -07:00
test_v3_assignment.py Enable foreign keys for unit test 2018-10-09 09:50:21 +08:00
test_v3_auth.py Implement auth receipts spec 2018-11-02 15:06:19 +01:00
test_v3_catalog.py Enable foreign keys for unit test 2018-10-09 09:50:21 +08:00
test_v3_credential.py Implement scope_type checking for credentials 2018-10-29 15:01:29 +00:00
test_v3_domain_config.py Finish refactoring self.*_api out of tests 2018-02-05 23:26:08 +00:00
test_v3_endpoint_policy.py Refactor self.*_api out of tests 2018-02-03 00:14:40 +00:00
test_v3_federation.py Move test utility to common location 2018-11-28 14:53:30 +00:00
test_v3_filters.py Make policy file support in fixture optional 2018-10-12 16:39:24 +00:00
test_v3_identity.py Allow blocking users from self-service password change 2018-04-18 19:15:07 +00:00
test_v3_oauth1.py Convert OS-AUTH1 paths to flask dispatching 2018-08-02 15:11:58 -07:00
test_v3_os_revoke.py Refactor self.*_api out of tests 2018-02-03 00:14:40 +00:00
test_v3_policy.py Refactor self.*_api out of tests 2018-02-03 00:14:40 +00:00
test_v3_protection.py Remove obsolete credential policies 2018-10-30 13:25:24 +00:00
test_v3_resource.py Use common system role definitions for registered limits 2018-12-19 22:17:28 +00:00
test_v3_trust.py Implement "no-update" test for trusts 2018-07-26 10:30:24 -07:00
test_validation.py Move to password validation schema 2018-11-27 14:57:44 -06:00
test_versions.py Remove deprecated secure_proxy_ssl_header config 2018-11-19 21:55:17 +00:00
utils.py Add new functionality to @wip 2016-05-22 16:06:50 +00:00