Issue 2045: repository.*.ownerGroup regression, configuration entries are filtered out
Status:  Released
Owner: ----
Closed:  Aug 2013
Reported by Magnus.V...@gmail.com, Aug 3, 2013
Affected Version: >=5660a19, 2.5, ..., 2.6.1, ..., master@2c702aa

What steps will reproduce the problem?
1. Start new server, log in as Administrator
 (All default except: Authentication method: development_become_any_account)
2. Create new group 'Test'
3. Stop gerrit
4. Add the following to gerrit.config
[repository "*"]
        ownerGroup = Registered Users
        ownerGroup = Test
5. Start gerrit
6. Create a new project
7. Check 'Access'

What is the expected output? What do you see instead?
I expect the groups 'Registered Users' and 'Test' to be the owners of the newly created project.

Please provide any additional information below.
Removing line 83 from gerrit-server/src/main/java/com/google/gerrit/server/account/InternalGroupBackend.java (introduced with 5660a19) will make it not filter out the two groups.

As it is now, if you decide to create a 'lesser-authorized' group to manage group and project creation, they will be able to create it, but have to ask a 'real' administrator to assign the ownership of the repository to the newly created group. Unless they use the command line and don't forget the 'owners' param.

Aug 10, 2013
#1 Magnus.V...@gmail.com
This regression should also affect receive.allowGroup and upload.allowGroup as well (though I have not tested it).

Aug 13, 2013
Project Member #2 david.pu...@sonymobile.com
https://gerrit-review.googlesource.com/#/c/48670/
Status: Submitted
Labels: FixedIn-2.8
Dec 9, 2013
Project Member #3 david.pu...@sonymobile.com
(No comment was entered for this change.)
Status: Released