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:40:03 +0000
commit93153e59534e582c1edca69d7e889d756ccf4b0a (patch)
tree35e7e753808b9868fc7af94aedd2bfe7197398d0
parentacef9c60722edf78bcb85328ca5ab23331ab9273 (diff)
downloadkeystone-93153e59534e582c1edca69d7e889d756ccf4b0a.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. Conflicts: keystone/common/policies/application_credential.py in later releases the deprecated parameters were moved from the DocumentedRuleDefault object to the DeprecatedRule object, which is a non-functional change. Change-Id: I1121f1abe769ee83ffc285103a95ee95540ce727 (cherry picked from commit 60e898c47038667e66a54e0a9a6cd7b91e115f55) (cherry picked from commit 7b28f1b3b47d0e4a22afe99c64d047016a772da5) (cherry picked from commit 14d2f5944ce9ef0cc881b91463df7cf3a1114d5b) (cherry picked from commit 4063ad98e7bebc4c56eb92be742cfda7254c27e7) (cherry picked from commit aa9459447f61fd51df20e1cbba8146033696bd01)
-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 cebb85b02..e44c661b1 100644
--- a/keystone/common/policies/application_credential.py
+++ b/keystone/common/policies/application_credential.py
@@ -23,11 +23,11 @@ deprecated_list_application_credentials_for_user = policy.DeprecatedRule(
check_str=base.RULE_ADMIN_OR_OWNER
)
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_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
)