Add access control to tasks resource