Don't show edit button for tasks if editing is not allowed