Forum Discussion
jsneveu
Aug 23, 2022Copper Contributor
Disabling repositories in DevOps
Hello, As we're moving from an on-premise setup of Azure DevOps over to the cloud service, we successfully migrated our existing repos over to our cloud instance. Now I'd like to "lock" or "disab...
AaronMina
Aug 26, 2022Copper Contributor
The way I have done this in the past is to rename the repo to NameOfRepo-ARCHIVED and then in the security controls, add a user and give them all allow access so they will have full rights and then change every group setting DENY. This will ensure that no one can do anything there except the one user you add and give full rights to.
Then go into the Options for the repo and turn off Forks.
I agree, there should be a better way, but I haven't found one.
You can lock the branches, but that doesn't restrict someone from creating a new branch or forking it.
Then go into the Options for the repo and turn off Forks.
I agree, there should be a better way, but I haven't found one.
You can lock the branches, but that doesn't restrict someone from creating a new branch or forking it.