commit | 16b7bd5e610610ff3242377866313b81d2cf52aa | [log] [tgz] |
---|---|---|
author | Shawn Pearce <sop@google.com> | Tue Sep 02 15:02:12 2014 -0700 |
committer | David Pursehouse <david.pursehouse@sonymobile.com> | Wed Dec 03 14:34:40 2014 +0900 |
tree | fc3930f66c89576a769cc381be9b7eb6036e810b | |
parent | 4248ea8c8626c75995f116bac043d4c04fd24879 [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