You can edit access rights through the Git protocol using the refs/meta/config
pseudo-branch. See the docs.
You checkout that branch, modify the project.config
and push back to the Gerrit server. That's how you can automate this.
Question
I would like to change the access rule for the deactivated branches on gerrit from "ALLOW" to "DENY".. do we have any command line options available for it ?
Solution
You can edit access rights through the Git protocol using the refs/meta/config
pseudo-branch. See the docs.
You checkout that branch, modify the project.config
and push back to the Gerrit server. That's how you can automate this.