Update the param name in policy.enforce function
Change-Id: Idac8fa4c171352b0dc992d5be01321121e5927b2
This commit is contained in:
parent
004558ae7f
commit
eaabb81f2a
|
@ -55,9 +55,9 @@ def enforce(context, action, target):
|
|||
``compute:attach_volume``,
|
||||
``volume:attach_volume``
|
||||
|
||||
:param object: dictionary representing the object of the action
|
||||
for object creation this should be a dictionary representing the
|
||||
location of the object e.g. ``{'project_id': context.project_id}``
|
||||
:param target: dictionary representing the target of the action
|
||||
for target creation this should be a dictionary representing the
|
||||
location of the target e.g. ``{'project_id': context.project_id}``
|
||||
|
||||
:raises PolicyNotAuthorized: if verification fails.
|
||||
|
||||
|
|
Loading…
Reference in New Issue