Back to problems

RBAC Role Resolver

Object-Oriented Programming · Stripe · Medium

RBAC Role Resolver Problem Overview Create a role-based access-control resolver for a tree of accounts. An organization may contain workspaces, and workspaces may contain teams. A role granted at an ancestor account is effective for every account below it. You receive two collections: Accounts: account identifiers together with their parent relationships. User Role Assignments: records connecting a user and an account to a role. Account Hierarchy Rules An account has zero or…

Checking your access…