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 60e898c470
)
This commit is contained in:
parent
cba80e0435
commit
7b28f1b3b4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue