InterviewDB
Question
User Permissions: Design a Role-Based Access Control System with Inheritance
phone
Question Details
Problem Implement a role-based access control (RBAC) system where roles can inherit permissions from parent roles. Given a user's assigned roles, determine whether they are authorized for a given action on a resource. Example: Follow-ups How do you detect and prevent circular role inheritance? If a user has two roles and one explicitly denies an action, should deny override allow? How would you support resource wildcards, e.g. can(user, "read", "article:*")? How would you audit all permissions a…
Full Details
🔒
Unlock all Notion questions
Full insider details, leaked discussions, and candidate experiences.
Get full access — $100 a year, unlimited accessAbout This Question
This is a reported interview question from a notion interview during the phone round.
More Notion Interview Questions
InterviewDB
Chat Service: Implement a Multi-Room Chat Backend with Message History
InterviewDB
Mobile Logging Library: Design a Thread-Safe In-App Logger for Android and iOS
InterviewDB
Notion SWE Phone - Document Store
InterviewDB
Inline Database: Build an In-Memory Key-Value Store with SQL-Like Query Support
InterviewDB
JSON Display: Render Nested JSON as a Collapsible Tree in the Browser