Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9072953
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T18:17:51+00:00 2026-06-16T18:17:51+00:00

In gerrit, we need to setup the access control for projects , it is

  • 0

In gerrit, we need to setup the access control for projects, it is done via web page mostly, which is efficiency to initial it.

In internet, there is solution to manipulate the database (like gsql for h2) in scripts, but it is low level and inefficiency as well.

I wonder whether

  1. there is better API currently we can use to create access control in gerrit in easy way
  2. or any people already write the configuration in DSL format, that scripts can deal with gerrit (sql over ssh).
  3. or any puppet good module for this ?

My expected configuration in DSL looks like below

Group1; Read on refs/heads/* and refs/tags/*
Group2; Push to refs/for/refs/heads/* and refs/changes/*
Group3; Push merge commit to refs/for/refs/heads/* and refs/changes/*
Group4; Forge Author Identity
Group5; Label: Code review with range -2 to +2
Group6; Label: Verify with range -1 to +1
Group7; Submit

And script helps for the rest

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T18:17:53+00:00Added an answer on June 16, 2026 at 6:17 pm

    You could try this:

    git fetch origin refs/meta/config
    git checkout -b config FETCH_HEAD
    

    Update your project.config:

    git push origin HEAD:refs/meta/config
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Gerrit installation within which are several related projects (each in a
I submitted a patch for review to Gerrit, which created a review page. I
I use git as my version control system and have set up a Gerrit
I am new to gerrit, and I am now trying to setup gerrit a
At my institute, I have a restricted internet access only through a proxy. I
I'm trying to setup gerrit HTTP authentication. I am reading the documentation at gerrit
Gerrit is useful but it's only for git. I want to setup something like
Trying to setup replication from gerrit to my github repo. Getting this stacktrace: [2011-09-20
I found that when clicking Submit Patch Set in the Gerrit web interface, it'll
I've just started using gerrit and I want to know why we need to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.