InterviewDB
Question
Workspace: Implement a Multi-Tenant Workspace Manager With Role-Based Access Control
phone
Question Details
Problem Design and implement a WorkspaceManager that supports multiple tenants. Each workspace has members with roles: owner, admin, member, viewer. Operations have different permission requirements. Implement the core class. Permission rules: Only owner/admin can invite or remove members Only owner can change roles of admin viewer cannot see member list details Follow-ups How do you prevent privilege escalation (e.g., an admin promoting themselves to owner)? What happens if an owner leaves — ho…
Full Details
🔒
Unlock all Clay 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 clay interview during the phone round.