identity_provider.py (keystone-19.0.0) | : | identity_provider.py (keystone-19.0.1) | ||
---|---|---|---|---|
skipping to change at line 19 | skipping to change at line 19 | |||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | |||
# License for the specific language governing permissions and limitations | # License for the specific language governing permissions and limitations | |||
# under the License. | # under the License. | |||
from oslo_log import versionutils | from oslo_log import versionutils | |||
from oslo_policy import policy | from oslo_policy import policy | |||
from keystone.common.policies import base | from keystone.common.policies import base | |||
deprecated_get_idp = policy.DeprecatedRule( | deprecated_get_idp = policy.DeprecatedRule( | |||
name=base.IDENTITY % 'get_identity_providers', | name=base.IDENTITY % 'get_identity_provider', | |||
check_str=base.RULE_ADMIN_REQUIRED | check_str=base.RULE_ADMIN_REQUIRED | |||
) | ) | |||
deprecated_list_idp = policy.DeprecatedRule( | deprecated_list_idp = policy.DeprecatedRule( | |||
name=base.IDENTITY % 'list_identity_providers', | name=base.IDENTITY % 'list_identity_providers', | |||
check_str=base.RULE_ADMIN_REQUIRED | check_str=base.RULE_ADMIN_REQUIRED | |||
) | ) | |||
deprecated_update_idp = policy.DeprecatedRule( | deprecated_update_idp = policy.DeprecatedRule( | |||
name=base.IDENTITY % 'update_identity_providers', | name=base.IDENTITY % 'update_identity_provider', | |||
check_str=base.RULE_ADMIN_REQUIRED | check_str=base.RULE_ADMIN_REQUIRED | |||
) | ) | |||
deprecated_create_idp = policy.DeprecatedRule( | deprecated_create_idp = policy.DeprecatedRule( | |||
name=base.IDENTITY % 'create_identity_providers', | name=base.IDENTITY % 'create_identity_provider', | |||
check_str=base.RULE_ADMIN_REQUIRED | check_str=base.RULE_ADMIN_REQUIRED | |||
) | ) | |||
deprecated_delete_idp = policy.DeprecatedRule( | deprecated_delete_idp = policy.DeprecatedRule( | |||
name=base.IDENTITY % 'delete_identity_providers', | name=base.IDENTITY % 'delete_identity_provider', | |||
check_str=base.RULE_ADMIN_REQUIRED | check_str=base.RULE_ADMIN_REQUIRED | |||
) | ) | |||
DEPRECATED_REASON = ( | DEPRECATED_REASON = ( | |||
"The identity provider API is now aware of system scope and default roles." | "The identity provider API is now aware of system scope and default roles." | |||
) | ) | |||
identity_provider_policies = [ | identity_provider_policies = [ | |||
policy.DocumentedRuleDefault( | policy.DocumentedRuleDefault( | |||
name=base.IDENTITY % 'create_identity_provider', | name=base.IDENTITY % 'create_identity_provider', | |||
End of changes. 4 change blocks. | ||||
4 lines changed or deleted | 4 lines changed or added |