InterviewDB
Question
Permission System OOD - Role-Based Access Control Implementation
phone
Question Details
Problem Design a role-based access control (RBAC) system. Users are assigned roles; roles have permissions; permissions are (resource, action) pairs. Implement: add_role(role_name) grant_permission(role_name, resource, action) assign_role(user_id, role_name) can(user_id, resource, action) -> bool revoke_role(user_id, role_name) Roles can inherit from other roles. Example: Follow-ups How do you handle circular inheritance (role A inherits B inherits A)? How would you scale can() checks to million…
Full Details
🔒
Unlock all Sigma Computing 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 sigma computing interview during the phone round.
More Sigma Computing Interview Questions
1p3a
Implementing a Spreadsheet with Custom Column Names at sigmacomputing
1p3a
Sigma Computing Fulltime SDE Tech Phone Screen Interview Experience
1p3a
Sigma Computing Onsite Second Round Interview Experience (USA)
InterviewDB
Sigma Computing SWE Phone - Cell Table
1p3a
Sigma Computing First Round Interview Experience (USA)