Issue 1997: Deny push rights for certain branch
Status:  Invalid
Owner: ----
Closed:  Dec 2013
Reported by presich....@gmail.com, Jul 5, 2013
Affected Version: 2.5.1

What steps will reproduce the problem?
1. Allow Push rights for TestGroup on refs/for/refs/* refspec
2. Deny Push rights for TestGroup on refs/for/refs/heads/master refspec

What is the expected output? 

Members of TestGroup can push to refs/for/develop branch for review
Members of TestGroup can't push to refs/for/master branch for review

What do you see instead?

Members of TestGroup can push to any branch under refs/for/* for review

Could you advise how can I deny to push for review only in one branch?
As a workaround I can deny to push to refs/for/* and allow for specific branch - but in such way i should add rule for every branch.

Thanks.
Jul 5, 2013
#1 icee...@googlemail.com
Are you sure  no other group your Test user is a member of can push?

Maybe Shawn's slides (https://docs.google.com/presentation/d/1TUwrCBljGqI4jLUA0TthuMLRwtqcUI7T9XH5kakrbpg/view#slide=id.p ) on AccessControl can help you?
Jul 5, 2013
#2 presich....@gmail.com
Yes, i'm sure that TestGroup do not have any other push rights for this project. And TestUser is not a member of any other group.

btw: very nice slides anyway!
Dec 10, 2013
#3 presich....@gmail.com
Guys, issue can be closed, i've been able to get the behaviour I want. Thanks!
Dec 11, 2013
Project Member #4 edwin.ke...@gmail.com
(No comment was entered for this change.)
Status: Invalid