diff --git a/keystone/common/policies/revoke_event.py b/keystone/common/policies/revoke_event.py index 6d633d3489..861e918101 100644 --- a/keystone/common/policies/revoke_event.py +++ b/keystone/common/policies/revoke_event.py @@ -15,9 +15,12 @@ from oslo_policy import policy from keystone.common.policies import base revoke_event_policies = [ - policy.RuleDefault( + policy.DocumentedRuleDefault( name=base.IDENTITY % 'list_revoke_events', - check_str=base.RULE_SERVICE_OR_ADMIN) + check_str=base.RULE_SERVICE_OR_ADMIN, + description='List revocation events.', + operations=[{'path': '/v3/OS-REVOKE/events', + 'method': 'GET'}]) ]