Interview practice question
Designing permissions for document sharing
Backend Engineering · Auth and Security · Experienced
Design the authorisation model for a document app where documents live in folders, folders can be shared with users or groups, and permissions inherit. How would you approach it?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Relationship-based model (ReBAC).
- Tuples: user/group → role → folder/doc.
- Inheritance via parent relations.
- Zanzibar-style engine (SpiceDB, OpenFGA).
- Caching and consistency (zookies).
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.