Skip to content

Instantly share code, notes, and snippets.

@bklarson
Created January 5, 2012 17:13
Show Gist options
  • Save bklarson/1566180 to your computer and use it in GitHub Desktop.
Save bklarson/1566180 to your computer and use it in GitHub Desktop.
Before re-init:
$ cat groups
# UUID Group Name
#
0bf0d5630d8f809258afffa9a9b4a37058d113ba Administrators
global:Anonymous-Users Anonymous Users
global:Project-Owners Project Owners
global:Registered-Users Registered Users
After re-init:
$ cat groups
# UUID Group Name
#
82d0efc88018d48fe7e0c382bf85e62ac9722489 Administrators
db42dab494cb20d684780a09b417a359e5a73902 Administrators
global:Anonymous-Users Anonymous Users
global:Project-Owners Project Owners
global:Registered-Users Registered Users
Before re-init:
$ cat project.config
[project]
description = Rights inherited by all other projects
[capability]
administrateServer = group Administrators
[access "refs/*"]
read = group Administrators
read = group Anonymous Users
forgeAuthor = group Registered Users
[access "refs/for/refs/*"]blarson@larson-e6400:~/projects/gerrit-test/All-Projects$ cat project.config
[project]
description = Rights inherited by all other projects
[capability]
administrateServer = group Administrators
[access "refs/*"]
read = group Administrators
read = group Anonymous Users
forgeAuthor = group Registered Users
[access "refs/for/refs/*"]
push = group Registered Users
[access "refs/heads/*"]
label-Code-Review = -1..+1 group Registered Users
[access "refs/meta/config"]
read = group Project Owners
push = group Registered Users
[access "refs/heads/*"]
label-Code-Review = -1..+1 group Registered Users
[access "refs/meta/config"]
read = group Project Owners
After re-init:
$ cat project.config
[project]
description = Rights inherited by all other projects
[capability]
administrateServer = group Administrators
administrateServer = group Administrators
administrateServer = group Administrators
administrateServer = group Administrators
[access "refs/*"]
read = group Administrators
read = group Administrators
read = group Administrators
read = group Administrators
read = group Anonymous Users
read = group Anonymous Users
read = group Anonymous Users
read = group Anonymous Users
forgeAuthor = group Registered Users
forgeAuthor = group Registered Users
forgeAuthor = group Registered Users
forgeAuthor = group Registered Users
[access "refs/for/refs/*"]
push = group Registered Users
push = group Registered Users
push = group Registered Users
push = group Registered Users
[access "refs/heads/*"]
label-Code-Review = -1..+1 group Registered Users
label-Code-Review = -1..+1 group Registered Users
label-Code-Review = -1..+1 group Registered Users
label-Code-Review = -1..+1 group Registered Users
[access "refs/meta/config"]
read = group Project Owners
read = group Project Owners
read = group Project Owners
read = group Project Owners
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment