Commit 6fe3ff05 authored by dennisjl's avatar dennisjl
Browse files

adds relevant comment about method

parent 47391283
......@@ -177,6 +177,8 @@ def upload_file_to_task(request, project_id, task_id):
)
return redirect(LOGIN_PAGE) # Redirects to /user/login
# Method shall get different permission based on user, and decide what permission a user has
def get_user_task_permissions(user, task):
if user == task.project.user.user:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment