← Back to problems

60. Fine-Grained Role and Permission Schema

MEDIUM
AuthenticationDatabaseSecuritySystem Design

Design the relational schema behind role-based access control - users, roles, permissions, and the joins between them.

Design the tables behind a role-based access control (RBAC) layer: users are assigned roles, roles grant permissions, and an authorization check needs to answer 'can this user perform this action' efficiently. No architecture diagram or API design required.
Log in to submit a solution

Comments

Log into join the discussion.