diff options
author | Lance Bragstad <lbragstad@gmail.com> | 2021-08-26 16:29:51 +0000 |
---|---|---|
committer | Lance Bragstad <lbragstad@gmail.com> | 2021-10-07 13:21:32 +0000 |
commit | 8678170ed2c59c6fccf5f06adcd013d6d8d6f3d2 (patch) | |
tree | 93b00e17790015ef2caa617ab8bb75fdfec555af | |
parent | cba80e04358fb56918d8ab876fb33183ce1330fc (diff) | |
download | keystone-8678170ed2c59c6fccf5f06adcd013d6d8d6f3d2.tar.gz |
Fix typo in identity provider policies
This cause the sample generated policy file to alias the old name with
the new policy name, which isn't needed since we're not renaming these
policies at all and it was likely a typo.
Change-Id: Idfd9adbbe800bbc21814d94002a2b61524cce28a
(cherry picked from commit c10d5c88ef40e63d4dfefb792d6c3d68acd72dd9)
-rw-r--r-- | keystone/common/policies/identity_provider.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/keystone/common/policies/identity_provider.py b/keystone/common/policies/identity_provider.py index c53d2a3af..c1b4d5a1e 100644 --- a/keystone/common/policies/identity_provider.py +++ b/keystone/common/policies/identity_provider.py @@ -20,7 +20,7 @@ DEPRECATED_REASON = ( ) deprecated_get_idp = policy.DeprecatedRule( - name=base.IDENTITY % 'get_identity_providers', + name=base.IDENTITY % 'get_identity_provider', check_str=base.RULE_ADMIN_REQUIRED, deprecated_reason=DEPRECATED_REASON, deprecated_since=versionutils.deprecated.STEIN @@ -32,19 +32,19 @@ deprecated_list_idp = policy.DeprecatedRule( deprecated_since=versionutils.deprecated.STEIN ) deprecated_update_idp = policy.DeprecatedRule( - name=base.IDENTITY % 'update_identity_providers', + name=base.IDENTITY % 'update_identity_provider', check_str=base.RULE_ADMIN_REQUIRED, deprecated_reason=DEPRECATED_REASON, deprecated_since=versionutils.deprecated.STEIN ) deprecated_create_idp = policy.DeprecatedRule( - name=base.IDENTITY % 'create_identity_providers', + name=base.IDENTITY % 'create_identity_provider', check_str=base.RULE_ADMIN_REQUIRED, deprecated_reason=DEPRECATED_REASON, deprecated_since=versionutils.deprecated.STEIN ) deprecated_delete_idp = policy.DeprecatedRule( - name=base.IDENTITY % 'delete_identity_providers', + name=base.IDENTITY % 'delete_identity_provider', check_str=base.RULE_ADMIN_REQUIRED, deprecated_reason=DEPRECATED_REASON, deprecated_since=versionutils.deprecated.STEIN |