I have my repository set up with a number of branches. I'd like to allow users upload access to all except master. I've given access to refs/for/refs/* to everyone, but when I try to deny access to refs/for/refs/master, it doesn't
seem to prevent anyone from uploading. This is gerrit 2.2.1.
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
Sorry, wasn't clear enough. refs/for/refs/heads/* and refs/for/refs/heads/masterMake more sense?On Oct 17, 2011, at 11:05 PM, Sean Soria wrote:Doesn't that allow pushing directly to the branch? I meant I wanted push for review access to all but master.
Hi,
I believe you’ll need to set the ‘exclusive’ mode on the permisions for refs/for/refs/heads/master for it to override the refs/for/refs/head/* if you want to override generic wildcard permissions with branch specific permissions.
Example is available in the gerrit documentation:
See where it discusses restricting access to perform Code Reviews on a refs/heads/qa branch so that it is only possible for members of a QA Leads group.
I haven’t tried it when using deny permissions, but it seems likely that the same rules would also apply.
--
Darragh Bailey
“Nothing is foolproof to a sufficiently talented fool” - unknown
--
--
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.
For more options, visit https://groups.google.com/groups/opt_out.