InterviewDB Question

User Roles: Implement a Role-Based Access Control System with Permission Inheritance

Question Details

Problem Build a RBACSystem class. Users are assigned roles. Roles have permissions. A user's effective permissions are the union of permissions from all their roles. Example: Follow-ups How would you add role hierarchy so a "super_editor" role inheri…

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Coding Phone