[trivial] Fix typo in policy error message
Change-Id: I5fa4b9f876be9e4f0276f123d5355cb2299517ec
This commit is contained in:
parent
a4a89d6b20
commit
34a582a013
@ -1862,7 +1862,7 @@ def authorize(rule, target, creds, *args, **kwargs):
|
||||
return enforcer.authorize(rule, target, creds, do_raise=True,
|
||||
*args, **kwargs)
|
||||
except policy.PolicyNotAuthorized as e:
|
||||
LOG.error('Rejecting authorzation: %(error)s',
|
||||
LOG.error('Rejecting authorization: %(error)s',
|
||||
{'error': e})
|
||||
raise exception.HTTPForbidden(resource=rule)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user