简体   繁体   中英

Gerrit remote branch ownership

I have been using Gerrit for a while now however I could not figure out somthing about remote branches.

I would like to set Gerrit settings so each person that uses the repository may create a new remote branch in Gerrit and in addition, only that person will be granted owner permission to that specific branch.

With that for example, he will be able to force push only to that branch.

I hope this is possible and someone will be able to explain me how to do it.

Thanks

You can use ${username} as variable in ACLs, see the sandbox examples here .

This would allow you to provide defined refs/branches that contain special permissions for every user (eg refs/heads/${username}/* to allow branches in the form of username/whatever )

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM