commit | f1791235631631b0521443a4ac512c7409ef981a | [log] [tgz] |
---|---|---|
author | Shawn Pearce <sop@google.com> | Tue Sep 02 15:02:12 2014 -0700 |
committer | Shawn Pearce <sop@google.com> | Tue Sep 02 15:02:12 2014 -0700 |
tree | ea4f83fea5e12944edec8897037304fb50adb960 | |
parent | 44bdf188c9091e816c0088be95084ee106966abb [diff] |
Only create All-Projects ACL once If refs/meta/config already exists do not overwrite or update it with default configuration. This protects site administrators who run `java -war gerrit.war init -d /some/existing/site --batch` and corrupt ACLs of a live server with default settings. To really set the default ACLs on an existing site the admin should remove the refs/meta/config branch so it can be created. Change-Id: I44a21b0c162812747ebcd50535709e8330dfbef8