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 commit60e898c470
) (cherry picked from commit7b28f1b3b4
) (cherry picked from commit14d2f5944c
) (cherry picked from commit4063ad98e7
) (cherry picked from commitaa9459447f
)
This commit is contained in:
parent
acef9c6072
commit
93153e5953
|
@ -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
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue