From d03aff630cbcd49f02d51f08ec59ac3cf7f41d0e Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Sun, 23 Oct 2011 10:25:39 -0400 Subject: [PATCH] Separate management from administration in rpc servlet. --- distrib/gitblit.properties | 23 ++++++++++++++++++----- 1 files changed, 18 insertions(+), 5 deletions(-) diff --git a/distrib/gitblit.properties b/distrib/gitblit.properties index 2d9bb03..28a6db8 100644 --- a/distrib/gitblit.properties +++ b/distrib/gitblit.properties @@ -90,13 +90,21 @@ # Allows remote clients to list repositories and possibly administer the Gitblit # server, if the authenticated account has administrator permissions. # -# SINCE 0.6.1 +# SINCE 0.7.0 web.enableRpcServlet = true -# Allows remote clients to administer the Gitblit instance, if the authenticated -# account has administrator permissions. Requires *web.enableRpcServlet=true*. +# Allows remote clients to manage repositories and users of the Gitblit instance, +# if the authenticated account has administrator permissions. +# Requires *web.enableRpcServlet=true*. # -# SINCE 0.6.1 +# SINCE 0.7.0 +web.enableRpcManagement = false + +# Allows remote clients to control the server settings of the Gitblit instance, +# if the authenticated account has administrator permissions. +# Requires *web.enableRpcServlet=true* and *web.enableRpcManagement*. +# +# SINCE 0.7.0 web.enableRpcAdministration = false # Allow dynamic zip downloads. @@ -288,10 +296,13 @@ # Example global regex substitutions # Use !!! to separate the search pattern and the replace pattern # searchpattern!!!replacepattern +# SINCE 0.5.0 regex.global.bug = \\b(Bug:)(\\s*[#]?|-){0,1}(\\d+)\\b!!!<a href="http://somehost/bug/$3">Bug-Id: $3</a> +# SINCE 0.5.0 regex.global.changeid = \\b(Change-Id:\\s*)([A-Za-z0-9]*)\\b!!!<a href="http://somehost/changeid/$2">Change-Id: $2</a> # Example per-repository regex substitutions overrides global +# SINCE 0.5.0 regex.myrepository.bug = \\b(Bug:)(\\s*[#]?|-){0,1}(\\d+)\\b!!!<a href="http://elsewhere/bug/$3">Bug-Id: $3</a> # @@ -320,6 +331,7 @@ # # SINCE 0.6.0 mail.username = +# SINCE 0.6.0 mail.password = # from address for generated emails @@ -465,7 +477,8 @@ # RESTART REQUIRED server.useNio = true -# Context path for the application. +# Context path for the GO application. You might want to change the context +# path if running Gitblit behind a proxy layer such as mod_proxy. # # SINCE 0.7.0 # RESTART REQUIRED -- Gitblit v1.9.1