diff options
author | James Moger <james.moger@gitblit.com> | 2013-09-27 14:27:15 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2013-09-27 21:33:26 -0400 |
commit | b325021c4e3168ef77bf3eb28be1d4c834595de8 (patch) | |
tree | 1d301990531eded35cfb3298e0c32c5433e29af3 /src/main/java/com/gitblit/GitBlit.java | |
parent | 629806c4c04d3bfc058056069c3123fd91782639 (diff) | |
download | gitblit-b325021c4e3168ef77bf3eb28be1d4c834595de8.tar.gz gitblit-b325021c4e3168ef77bf3eb28be1d4c834595de8.zip |
Change default access restriction to PUSH
Change-Id: I74b3f9fedd77294c53648f8eaa730d4a84917555
Diffstat (limited to 'src/main/java/com/gitblit/GitBlit.java')
-rw-r--r-- | src/main/java/com/gitblit/GitBlit.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/gitblit/GitBlit.java b/src/main/java/com/gitblit/GitBlit.java index c31a0e97..c5304b4f 100644 --- a/src/main/java/com/gitblit/GitBlit.java +++ b/src/main/java/com/gitblit/GitBlit.java @@ -2008,7 +2008,7 @@ public class GitBlit implements ServletContextListener { model.incrementalPushTagPrefix = getConfig(config, "incrementalPushTagPrefix", null); model.allowForks = getConfig(config, "allowForks", true); model.accessRestriction = AccessRestrictionType.fromName(getConfig(config, - "accessRestriction", settings.getString(Keys.git.defaultAccessRestriction, null))); + "accessRestriction", settings.getString(Keys.git.defaultAccessRestriction, "PUSH"))); model.authorizationControl = AuthorizationControl.fromName(getConfig(config, "authorizationControl", settings.getString(Keys.git.defaultAuthorizationControl, null))); model.verifyCommitter = getConfig(config, "verifyCommitter", false); |