From 72cb19b84e87e63770391a37ea3872f963574869 Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Sun, 21 Oct 2012 22:04:35 -0400 Subject: [PATCH] Implemented optional create-on-push --- distrib/gitblit.properties | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/distrib/gitblit.properties b/distrib/gitblit.properties index fe7692b..89a7c2f 100644 --- a/distrib/gitblit.properties +++ b/distrib/gitblit.properties @@ -76,6 +76,20 @@ # SINCE 0.9.0 git.onlyAccessBareRepositories = false +# Allow an authenticated user to create a destination repository on a push if +# the repository does not already exist. +# +# Administrator accounts can create a repository in any project. +# These repositories are created with the default access restriction and authorization +# control values. The pushing account is set as the owner. +# +# Non-administrator accounts with the CREATE role may create personal repositories. +# These repositories are created as VIEW restricted for NAMED users. +# The pushing account is set as the owner. +# +# SINCE 1.2.0 +git.allowCreateOnPush = true + # The default access restriction for new repositories. # Valid values are NONE, PUSH, CLONE, VIEW # NONE = anonymous view, clone, & push -- Gitblit v1.9.1