Asana interview question

Design a data model to support a has_access(userid,taskid) function.