cinder/cinder/tests/unit/policies
Lance Bragstad 88b993b192 Implement project personas for snapshot metadata
This commit updates the policies to use the default roles provided by
keystone allowing for a more consistent authorization experience across
OpenStack services. This commit also includes read-only support for read
APIs.

Also removes the following from tests/unit/policy.yaml:
-"volume:get_snapshot_metadata": ""
-"volume:update_snapshot_metadata": ""
-"volume:delete_snapshot_metadata": ""

Co-Authored-by: Alan Bishop <abishop@redhat.com>

Change-Id: I99b44c87d2061524aa2b806da9b091b5602d726c
2021-09-15 08:56:09 -04:00
..
__init__.py Refactor on policy in code 2019-01-15 01:22:37 +00:00
base.py Add infrastructure for testing new RBAC policies 2021-08-31 15:41:17 -07:00
test_attachments.py Add request method to test requests 2021-09-13 15:28:06 -04:00
test_backups.py Implement project personas for backups API 2021-09-14 19:39:31 -07:00
test_base.py Default type overrides 2020-09-16 14:05:31 +00:00
test_default_volume_types.py Update project personas for default_types 2021-09-09 15:23:27 -04:00
test_group_actions.py Implement Xena project personas for group_actions 2021-09-13 22:18:55 -04:00
test_group_snapshots.py Implement Xena project personas for group snapshots 2021-09-15 08:44:31 -04:00
test_group_types.py Implement project personas group_types 2021-09-10 12:58:48 -04:00
test_groups.py Implement Xena personas for volume groups 2021-09-11 11:23:16 -04:00
test_limits.py Implement project personas for the limits API 2021-09-10 12:39:06 -07:00
test_messages.py Implement project personas for messages 2021-08-31 15:43:11 -07:00
test_quota_class.py Implement project personas for quotas and quota_classes 2021-09-08 16:35:54 -07:00
test_quotas.py Implement project personas for quotas and quota_classes 2021-09-08 16:35:54 -07:00
test_snapshot_actions.py Implement secure RBAC for snapshot actions 2021-09-10 12:55:46 -07:00
test_snapshot_metadata.py Implement project personas for snapshot metadata 2021-09-15 08:56:09 -04:00
test_snapshots.py Implement project personas for snapshots 2021-09-10 13:12:31 -07:00
test_volume.py Implement project personas for volume API 2021-09-09 15:23:17 +00:00
test_volume_access.py Xena project personas for volume type access API 2021-09-10 17:33:38 -04:00
test_volume_actions.py Import HTTPStatus instead of http_client (policy tests) 2020-10-13 10:00:20 -04:00
test_volume_metadata.py Implement project personas for volume metadata API 2021-09-10 12:46:23 -07:00
test_volume_transfers.py Implement project personas for volume transfers 2021-09-08 10:26:41 -04:00
test_volume_type.py Implement Xena project personas for volume types 2021-09-11 09:39:18 -04:00