keystone/keystone/tests/unit
Samuel de Medeiros Queiroz 5a0811f355 Adds inherited column to RoleAssignment PK
It should be possible to add both inherited and
non-inherited role assignments for the same actor
and target with the same role.

However, this was not currently possible since
the inherited column was not part of the PK of
the assignment table.

This patch alters the table definition and adds a
migration script and tests for it.

Closes-Bug: #1403539

Change-Id: I1ba4935934b0dc6b6077d18761023ad50462c8b8
2015-05-11 10:04:06 -03:00
..
backend Add caching to getting of the fully substituted domain config 2015-03-26 18:01:19 +00:00
catalog Merge "Tests use common base class" 2015-04-10 17:31:45 +00:00
common Merge "Tests use common base class" 2015-04-10 17:31:45 +00:00
config_files Move existing tests to unit 2015-02-13 15:54:29 -06:00
identity Fix multiple SQL backend usage validation error 2015-04-03 06:31:25 +01:00
ksfixtures Create a fixture for key repository 2015-03-16 13:33:48 -05:00
saml2 Fix signed_saml2_assertion.xml tests fixture 2015-04-13 08:14:13 -03:00
tests Moved sys.exit mocking into BaseTestClass 2015-03-09 21:48:43 +00:00
token Implement Fernet tokens for v2.0 tokens 2015-03-17 21:57:11 -05:00
__init__.py Move existing tests to unit 2015-02-13 15:54:29 -06:00
core.py Merge "Remove unused checkout_vendor" 2015-03-10 20:09:54 +00:00
default_catalog.templates Move existing tests to unit 2015-02-13 15:54:29 -06:00
default_fixtures.py Move existing tests to unit 2015-02-13 15:54:29 -06:00
fakeldap.py Fixes minor whitespace issues 2015-03-05 22:09:18 +00:00
federation_fixtures.py Move existing tests to unit 2015-02-13 15:54:29 -06:00
filtering.py Refactor filter and sensitivity tests in prepartion for LDAP support 2015-02-19 10:02:36 +00:00
identity_mapping.py Move existing tests to unit 2015-02-13 15:54:29 -06:00
mapping_fixtures.py Merge "Adds test for federation mapping list order issues" 2015-03-19 15:27:42 +00:00
rest.py Needn't workaround when invoking `app.request()` 2015-03-20 04:36:15 +08:00
test_associate_project_endpoint_extension.py Merge "Add routing for list_endpoint_groups_for_project" 2015-04-14 10:58:16 +00:00
test_auth.py Rename get_events to list_events on the Revoke API 2015-03-09 21:54:33 -03:00
test_auth_plugin.py Use dict comprehensions instead of dict constructor 2015-03-02 13:14:03 +08:00
test_backend.py Adds inherited column to RoleAssignment PK 2015-05-11 10:04:06 -03:00
test_backend_endpoint_policy.py Move existing tests to unit 2015-02-13 15:54:29 -06:00
test_backend_endpoint_policy_sql.py Move existing tests to unit 2015-02-13 15:54:29 -06:00
test_backend_federation_sql.py Add relay_state_prefix to Service Provider 2015-03-28 06:29:00 +00:00
test_backend_id_mapping_sql.py Move existing tests to unit 2015-02-13 15:54:29 -06:00
test_backend_kvs.py Consistently use oslo_config.cfg.CONF 2015-02-18 09:04:05 -06:00
test_backend_ldap.py Reload drivers when their domain config is updated 2015-04-02 07:29:13 +01:00
test_backend_ldap_pool.py Implemented caching in identity layer. 2015-03-02 15:22:06 +05:30
test_backend_rules.py Move existing tests to unit 2015-02-13 15:54:29 -06:00
test_backend_sql.py Add parent_id to test_project_model 2015-02-26 04:15:48 +00:00
test_backend_templated.py Don't add unformatted project-specific endpoints to catalog 2015-04-02 22:40:35 +08:00
test_cache.py Make the default cache time more explicit in code 2015-03-02 14:39:49 -08:00
test_cache_backend_mongo.py Fix the wrong order of parameters when using assertEqual 2015-03-07 01:43:52 +08:00
test_catalog.py Uses SQL catalog driver for v2 REST tests 2015-02-23 20:34:42 +00:00
test_cert_setup.py Move eventlet server options to a config section 2015-02-18 20:24:32 -06:00
test_cli.py Support upload domain config files to database 2015-03-18 20:56:42 +00:00
test_config.py Fix the wrong order of parameters when using assertEqual 2015-03-07 01:43:52 +08:00
test_contrib_ec2.py Fix errors in ec2 signature logic checking 2015-04-02 22:51:23 +08:00
test_contrib_s3_core.py Move existing tests to unit 2015-02-13 15:54:29 -06:00
test_contrib_simple_cert.py Move existing tests to unit 2015-02-13 15:54:29 -06:00
test_driver_hints.py Move existing tests to unit 2015-02-13 15:54:29 -06:00
test_ec2_token_middleware.py Move existing tests to unit 2015-02-13 15:54:29 -06:00
test_exception.py Refactoring: use BaseTestCase instead of TestCase 2015-03-09 21:48:49 +00:00
test_hacking_checks.py Tests use common base class 2015-03-25 19:44:20 -05:00
test_ipv6.py Fix the wrong order of parameters when using assertEqual 2015-03-07 01:43:52 +08:00
test_kvs.py Use dict comprehensions instead of dict constructor 2015-03-02 13:14:03 +08:00
test_ldap_livetest.py Fix the wrong order of parameters when using assertEqual 2015-03-07 01:43:52 +08:00
test_ldap_pool_livetest.py Fix the wrong order of parameters when using assertEqual 2015-03-07 01:43:52 +08:00
test_ldap_tls_livetest.py Fixes minor whitespace issues 2015-03-05 22:09:18 +00:00
test_middleware.py Consistently use oslo_config.cfg.CONF 2015-02-18 09:04:05 -06:00
test_no_admin_token_auth.py Move existing tests to unit 2015-02-13 15:54:29 -06:00
test_policy.py Fix sample policy to allow user to revoke own token 2015-03-23 21:01:54 -05:00
test_revoke.py Rename get_events to list_events on the Revoke API 2015-03-09 21:54:33 -03:00
test_singular_plural.py Move existing tests to unit 2015-02-13 15:54:29 -06:00
test_sql_livetest.py Refactoring: remove self._config_file_list from TestCase 2015-03-09 16:29:44 +00:00
test_sql_migrate_extensions.py Add relay_state_prefix to Service Provider 2015-03-28 06:29:00 +00:00
test_sql_upgrade.py Adds inherited column to RoleAssignment PK 2015-05-11 10:04:06 -03:00
test_ssl.py Skip SSL tests because some platforms do not enable SSLv3 2015-04-06 15:41:29 -07:00
test_token_bind.py Move existing tests to unit 2015-02-13 15:54:29 -06:00
test_token_provider.py Merge "Remove conditional check (and test) for oauth_api" 2015-03-03 21:24:10 +00:00
test_url_middleware.py Move existing tests to unit 2015-02-13 15:54:29 -06:00
test_v2.py Remove parent_id in v2 tenant response 2015-03-25 01:23:56 +00:00
test_v2_controller.py Remove parent_id in v2 tenant response 2015-03-25 01:23:56 +00:00
test_v2_keystoneclient.py create _member_ role as specified in CONF 2015-03-24 07:48:53 -05:00
test_v2_keystoneclient_sql.py move region and service exist checks into manager layer 2015-03-11 09:04:54 +08:00
test_v3.py Remove RestfulTestCase.admin_request 2015-03-15 11:06:07 -05:00
test_v3_assignment.py Adds inherited column to RoleAssignment PK 2015-05-11 10:04:06 -03:00
test_v3_auth.py Cleanup Fernet testcases and add comments. 2015-03-18 17:29:22 +00:00
test_v3_catalog.py Don't add unformatted project-specific endpoints to catalog 2015-04-02 22:40:35 +08:00
test_v3_controller.py Use dict comprehensions instead of dict constructor 2015-03-02 13:14:03 +08:00
test_v3_credential.py Merge "add missing links for v3 OS-EC2 API response" 2015-03-25 20:45:29 +00:00
test_v3_domain_config.py Add API support for domain config 2015-03-08 18:22:42 +00:00
test_v3_endpoint_policy.py Move existing tests to unit 2015-02-13 15:54:29 -06:00
test_v3_federation.py WebSSO should use remote_id_attribute by protocol 2015-04-08 19:27:31 -07:00
test_v3_filters.py Improved policy setting in the 'v3 filter' tests 2015-04-07 14:37:04 +00:00
test_v3_identity.py Move existing tests to unit 2015-02-13 15:54:29 -06:00
test_v3_oauth1.py add cadf notifications for oauth 2015-03-09 23:03:36 +00:00
test_v3_os_revoke.py Fix the wrong order of parameters when using assertEqual 2015-03-07 01:43:52 +08:00
test_v3_policy.py Move existing tests to unit 2015-02-13 15:54:29 -06:00
test_v3_protection.py Add unit tests for sample policy token operations 2015-03-23 21:01:54 -05:00
test_validation.py Tests use common base class 2015-03-25 19:44:20 -05:00
test_versions.py Merge "Add routing for list_endpoint_groups_for_project" 2015-04-14 10:58:16 +00:00
test_wsgi.py Refactor code supporting status in JSON Home 2015-03-18 00:10:19 +00:00
utils.py Remove unused checkout_vendor 2015-03-08 12:50:04 -05:00