Giving rename permissions to all the users for a repository might be unnecessary as there is a chance of repository getting renamed mistakenly by someone from the team. To prevent this it’s necessary to give rename permissions only to certain users and not all the users.Let us see how to allow/deny rename permissions only to a particular group for a particular repository.. (The same steps can be also repeated to allow/deny rename permissions for all the groups in a particular repository)
Step 1: Go to the Project & Click on Project Settings
Step 2: Then click on the Repository
Step 3: Click on Security for the selected repository.
Step 4: Then click on Contributor group for the selected pane & then click on “Deny” permissions in the dropdown from rename repository as shown below.
Once deny is selected, the users in contributor group will not have permissions to rename the repository.