Commit 1ee6bb83 by Kálmán Viktor

occi: fix auth check for compute trigger

parent e521bceb
...@@ -304,8 +304,6 @@ class Compute(Resource): ...@@ -304,8 +304,6 @@ class Compute(Resource):
action = compute_action_to_operation.get(action_term) action = compute_action_to_operation.get(action_term)
operation = action.get(method) operation = action.get(method)
# TODO user
user = User.objects.get(username="test")
getattr(self.instance, operation).async(user=user) getattr(self.instance, operation).async(user=user)
Please register or sign in to reply
def delete(self, user): def delete(self, user):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment