Stripe Interview Question

Designing a file system api that handled various levels of permission