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 60e898c470)
(cherry picked from commit 7b28f1b3b4)
(cherry picked from commit 14d2f5944c)
(cherry picked from commit 4063ad98e7)
(cherry picked from commit aa9459447f)
This commit is contained in:
Lance Bragstad 2021-09-21 21:55:35 +00:00
parent acef9c6072
commit 93153e5953
1 changed files with 2 additions and 2 deletions

View File

@ -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
)