diff options
author | James Moger <james.moger@gitblit.com> | 2013-09-27 13:44:28 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2013-09-27 21:31:39 -0400 |
commit | 629806c4c04d3bfc058056069c3123fd91782639 (patch) | |
tree | c0c6eac8dcecb59d2bc23300986a09a8abbdc11b /src/main/distrib | |
parent | 234933ef14ca0ff2175235bc42bf1aa40040aa5d (diff) | |
download | gitblit-629806c4c04d3bfc058056069c3123fd91782639.tar.gz gitblit-629806c4c04d3bfc058056069c3123fd91782639.zip |
Added setting to globally disable anonymous pushes in the receive pack
Change-Id: I3460c9c0eeb32503d58325fd09793a0cd40aa2c4
Diffstat (limited to 'src/main/distrib')
-rw-r--r-- | src/main/distrib/data/gitblit.properties | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/main/distrib/data/gitblit.properties b/src/main/distrib/data/gitblit.properties index ab7b9992..9a02e231 100644 --- a/src/main/distrib/data/gitblit.properties +++ b/src/main/distrib/data/gitblit.properties @@ -145,6 +145,18 @@ git.onlyAccessBareRepositories = false # SINCE 1.2.0
git.allowCreateOnPush = true
+# Global setting to control anonymous pushes.
+#
+# This setting allows/rejects anonymous pushes at the level of the receive pack.
+# This trumps all repository config settings. While anonymous pushes are convenient
+# on your own box when you are a lone developer, they are not recommended for
+# any multi-user installation where accountability is required. Since Gitblit
+# tracks pushes and user accounts, allowing anonymous pushes compromises that
+# information.
+#
+# SINCE 1.4.0
+git.allowAnonymousPushes = true
+
# The default access restriction for new repositories.
# Valid values are NONE, PUSH, CLONE, VIEW
# NONE = anonymous view, clone, & push
|