Verifies that the action is valid on the target in this context.
Parameters:
credentials – user credentials
action –
string representing the action to be checked
this should be colon separated for clarity.
i.e. compute:create_instance
compute:attach_volume
volume:attach_volume
object – dictionary representing the object of the action
for object creation this should be a dictionary
representing the location of the object e.g.
{‘tenant_id’: object.tenant_id}