Role-Based Access Control System
Implement an in-memory Role-Based Access Control (RBAC) system that supports assigning permissions to roles and roles to users. The system should handle queries to determine whether a given user has a specific permission.
Asked at:
Microsoft
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
Early April, 2026
Microsoft
Senior
The question asked to implement an in-memory schema for a Role Based Access Control. You will have N users, M permissions, and K roles. The client application will make requests of inserting permissions to roles, and roles to users. Our component should also be able to respond if a given user had a given permission.
Hello Interview Premium
Your account is free and you can post anonymously if you choose.