Reputation: 55
I need to find a way to make all Repositories within gerrit "read only", without having to do each one individually.
Any help will be much appreciated.
Upvotes: 0
Views: 2352
Reputation: 22351
Just set "ALLOW Read" in "refs/*" reference for "Anonymous Users" group (all users signed in or not) or "Registered Users" group (all signed in users) at the "All Projects" project and set "Rights Inherit From" to "All Projects" for all repositories in Gerrit.
To change project permissions go to: Projects > List > Select-the-project > Access
Here you find more details about permissions.
Upvotes: 1