occi: fix auth check for compute trigger
Showing
... | @@ -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): | ||
... | ... |