summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLance Bragstad <lbragstad@gmail.com>2021-09-21 21:55:35 +0000
committerLance Bragstad <lbragstad@gmail.com>2021-10-07 13:36:12 +0000
commit7b28f1b3b47d0e4a22afe99c64d047016a772da5 (patch)
tree29dc2528371caa341baf71fe4802ace2716d1cf6
parentcba80e04358fb56918d8ab876fb33183ce1330fc (diff)
downloadkeystone-7b28f1b3b47d0e4a22afe99c64d047016a772da5.tar.gz
Fix typos in application credential policies
We updated these policies when we introduces system scope and default roles, but the policy names accidentally changed, which makes the policy files render with an alias because oslo.policy thinks the names are changing. Change-Id: I1121f1abe769ee83ffc285103a95ee95540ce727 (cherry picked from commit 60e898c47038667e66a54e0a9a6cd7b91e115f55)
-rw-r--r--keystone/common/policies/application_credential.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/keystone/common/policies/application_credential.py b/keystone/common/policies/application_credential.py
index f944a6906..bae998a39 100644
--- a/keystone/common/policies/application_credential.py
+++ b/keystone/common/policies/application_credential.py
@@ -30,13 +30,13 @@ deprecated_list_application_credentials_for_user = policy.DeprecatedRule(
deprecated_since=versionutils.deprecated.TRAIN
)
deprecated_get_application_credentials_for_user = policy.DeprecatedRule(
- name=base.IDENTITY % 'get_application_credentials',
+ name=base.IDENTITY % 'get_application_credential',
check_str=base.RULE_ADMIN_OR_OWNER,
deprecated_reason=DEPRECATED_REASON,
deprecated_since=versionutils.deprecated.TRAIN
)
deprecated_delete_application_credentials_for_user = policy.DeprecatedRule(
- name=base.IDENTITY % 'delete_application_credentials',
+ name=base.IDENTITY % 'delete_application_credential',
check_str=base.RULE_ADMIN_OR_OWNER,
deprecated_reason=DEPRECATED_REASON,
deprecated_since=versionutils.deprecated.TRAIN