Fix a typo in access_control.py

TrivialFix

Change-Id: Ia079e46cd4b1e2829a9933d9e7b366a2f8b3fa3a
This commit is contained in:
zhangyanxian 2016-09-22 01:13:10 +00:00
parent 04ac956138
commit 6252dedb25

View File

@ -55,7 +55,7 @@ def enforce(action, context, target=None, do_raise=True,
For object creation, this should be a dictionary
representing the location of the object.
e.g. ``{'project_id': context.project_id}``
:param do_raise: if True (the default), raises specified excepion.
:param do_raise: if True (the default), raises specified exception.
:param exc: Exception to be raised if not authorized. Default is
mistral.exceptions.NotAllowedException.