Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Best practice for supporting small/personal projects/repos on Azure DevOps (on premises)

I am setting up a on premises instance of Azure DevOps 2019 and have read over the guide for planning the organizational structure. In our situation, having a single organization and several projects and teams seems to be the most appropriate structure.

The question I have is in a situation where people have small utility programs they have written to help with their day to day tasks, where should I have them have place their code. In this situation, it may not pertain to a certain project and I feel like creating projects for every individual user that wants their own little playground to put code would be messy.

Is there a way I can have a project where users can have their own little area of repositories for their use and not see all other people's repositories in that project and therefore not look so cluttered?

Is there some better way to give users their own area to have repositories for their own use without cluttering up projects?

like image 634
Justin Avatar asked Dec 20 '25 04:12

Justin


1 Answers

You can create a new project to place the repositories of the developers.

You change the repositories permission settings to achieve users can only view their own little area of repositories for their use and not see all other people's repositories in that project. See below:

1, Set the permission on All Repositories Level

Go to project settings of the project--> Repositories under Repos-->Permissions under All Repositories-->Search for the users in the search bar-->Change his permission to Not set or Deny

By denying this user's permission on the All repositories level, so that he willnot be able to see other people's repositories in that project

enter image description here

2, Set the permission on Single Repository Level

Go to project settings of the project--> Repositories under Repos-->Select the repository of this user-->Permissions tab-->Search for the user in the search box-->Set the permission to allow for the user his own repository(override the permission set on above All Repositories level).

enter image description here

By doing above two steps. Users will only be able to view their own repositories on the project portal.

like image 146
Levi Lu-MSFT Avatar answered Dec 21 '25 19:12

Levi Lu-MSFT



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!