Design an access control system (RBAC + resource-based) | Atlassian Interview Question