Object-Oriented Programming · Figma · Medium
Problem Create a permission-management system for a hierarchical file structure composed of Team, Folder, and File entities: A Team is a top-level organizational node and can directly include folders and files. A Folder can include nested folders and files. It can belong directly to a team or to another folder. A File is a terminal node and cannot contain other entities. Every entity has a distinct uuid and a userIds array listing users who have direct permission on that…
Checking your access…