Forum Discussion
Gr8Lakes
Sep 13, 2023Copper Contributor
ADO Repo: how can I hide some files in the repo from some users?
Using an Azure Repos git repo within Azure DevOps (not github) ... Can I configure permissions such that some users cannot see all files within the repository? For example, maybe I can confi...
- Sep 15, 2023This is not possible in git repositories. Access is always granted at the repository level and you can't hide or protect specific files or folders.
Gr8Lakes
Sep 14, 2023Copper Contributor
I dont see that this solution is available for git-based Azure Repos, only TFS-based repos.
Using a basic license, I dont get any options for adding paths to files for git.
Gr8Lakes
Sep 14, 2023Copper Contributor
I've looked at the manner in which JSON can be crafted for custom roles.
I havent found any documentation for the Azure Repos (git) provider which shows how paths can be configured in the JSON. For example, in scope or permissions.