designate/designate/common/policies
Michael Johnson 5f87d207b4 Fix support for scoped tokens and default roles
This patch is the base patch to enable support for Keystone
scoped tokens[1] and default roles[2] in the Designate API.

It also migrates to using project_id in the context objects instead of
the deprecated tenant_id.

[1] https://docs.openstack.org/keystone/latest/admin/tokens-overview.html#authorization-scopes
[2] https://docs.openstack.org/keystone/latest/admin/service-api-protection.html

Depends-On: https://review.opendev.org/c/openstack/designate-tempest-plugin/+/821632

Change-Id: I43bb76dc4dc1d167d86fd5ea139a50f95f3b0b4a
2021-12-14 01:02:50 +00:00
..
__init__.py Implement policy in code (4) 2017-10-24 09:24:10 +00:00
base.py Fix support for scoped tokens and default roles 2021-12-14 01:02:50 +00:00
blacklist.py Fix update blacklist policy deprecation 2021-09-07 17:47:26 +00:00
context.py Fix support for scoped tokens and default roles 2021-12-14 01:02:50 +00:00
diagnostics.py Fix support for scoped tokens and default roles 2021-12-14 01:02:50 +00:00
pool.py Fix typo in the find_pool deprecated rule 2021-09-07 17:55:50 +00:00
quota.py Fix support for scoped tokens and default roles 2021-12-14 01:02:50 +00:00
record.py Fix count_record policy to use the right deprecation variable 2021-09-07 17:55:54 +00:00
recordset.py Fix support for scoped tokens and default roles 2021-12-14 01:02:50 +00:00
service_status.py Fix oslo policy DeprecatedRule warnings 2021-07-04 18:04:14 -05:00
tenant.py Fix oslo policy DeprecatedRule warnings 2021-07-04 18:04:14 -05:00
tld.py Fix oslo policy DeprecatedRule warnings 2021-07-04 18:04:14 -05:00
tsigkey.py Fix support for scoped tokens and default roles 2021-12-14 01:02:50 +00:00
zone.py Fix support for scoped tokens and default roles 2021-12-14 01:02:50 +00:00
zone_export.py Fix support for scoped tokens and default roles 2021-12-14 01:02:50 +00:00
zone_import.py Fix support for scoped tokens and default roles 2021-12-14 01:02:50 +00:00
zone_transfer_accept.py Fix support for scoped tokens and default roles 2021-12-14 01:02:50 +00:00
zone_transfer_request.py Fix support for scoped tokens and default roles 2021-12-14 01:02:50 +00:00