The Folder Access Myth
Most engineering teams assume something that is not actually true. They believe they can restrict access to specific folders inside a repository. In practice, they cannot. On platforms like GitHub and GitLab, permissions are granted at the repository level. If a user can access the repository, they can see the entire directory tree. That works fine for small teams. It breaks down in monorepos.