Merge "Fix typo in identity provider policies" into stable/wallaby

This commit is contained in:
Zuul 2021-10-07 19:50:35 +00:00 committed by Gerrit Code Review
commit e95d4b9a13
1 changed files with 4 additions and 4 deletions

View File

@ -16,7 +16,7 @@ from oslo_policy import policy
from keystone.common.policies import base
deprecated_get_idp = policy.DeprecatedRule(
name=base.IDENTITY % 'get_identity_providers',
name=base.IDENTITY % 'get_identity_provider',
check_str=base.RULE_ADMIN_REQUIRED
)
deprecated_list_idp = policy.DeprecatedRule(
@ -24,15 +24,15 @@ deprecated_list_idp = policy.DeprecatedRule(
check_str=base.RULE_ADMIN_REQUIRED
)
deprecated_update_idp = policy.DeprecatedRule(
name=base.IDENTITY % 'update_identity_providers',
name=base.IDENTITY % 'update_identity_provider',
check_str=base.RULE_ADMIN_REQUIRED
)
deprecated_create_idp = policy.DeprecatedRule(
name=base.IDENTITY % 'create_identity_providers',
name=base.IDENTITY % 'create_identity_provider',
check_str=base.RULE_ADMIN_REQUIRED
)
deprecated_delete_idp = policy.DeprecatedRule(
name=base.IDENTITY % 'delete_identity_providers',
name=base.IDENTITY % 'delete_identity_provider',
check_str=base.RULE_ADMIN_REQUIRED
)