Centralized Gerrit Access Control configuration with per-repository settings

23 views
Skip to first unread message

janosch

unread,
Oct 14, 2025, 9:29:40 AM (3 days ago) Oct 14
to Repo and Gerrit Discussion
Hello,

we are using the Gerrit Access Control configuration based on git refs with the possibility of configuration inheritance quite extensively. Configuration on repository level we try to keep minimal since we would like to have all configuration centralized in one place for easier maintenance and governance.

One downside of this is, that we have introduced additional semantics to the naming of git refs, such that we can do access control via branches instead of on repository level. This again leads to complexity and non-intuitive branches in all repositories.

So my question is, are there solutions for centralized Gerrit configuration which then gets rolled out to all repositories/projects, with the possibility to specify which setting is intended for which projects? Similar like eg. one can do with Terraform for GitHub repositories? Maybe even a Terraform provider for Gerrit access control configuration?

Best regards, Janosch

Nasser Grainawi

unread,
Oct 14, 2025, 1:51:20 PM (3 days ago) Oct 14
to janosch, Repo and Gerrit Discussion
This seems like a neat idea, but I don't think anyone has done it yet. It looks like it would be very possible using Gerrit's REST APIs and there are a couple Gerrit Terraform integrations on github, but they don't offer any of the repository setup you want.
 

Best regards, Janosch

--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/repo-discuss/07141c18-e5a1-4edb-a5e8-af81e3819ddfn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages