* INSTALL
(SECURITY INFORMATION): Update this with the latest information about the checkout view and how to toggle its enablement. git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@1554 8cb11bc2-c004-0410-86c3-e597b4017df7remotes/options-overhaul
parent
a0e92a8679
commit
4ee8ea34e1
12
INSTALL
12
INSTALL
|
@ -96,15 +96,9 @@ Visitors viewing those versioned controlled documents get the
|
|||
malicious code, too, which might not be what the original author
|
||||
intended.
|
||||
|
||||
If you wish to disable ViewVC's "checkout" view which implements this
|
||||
feature, you can do so by editing lib/viewvc.py, and modifying the
|
||||
function view_checkout() like so, adding the lines indicated:
|
||||
|
||||
def view_checkout(request):
|
||||
>> raise debug.ViewVCException('Checkout view is disabled',
|
||||
>> '403 Forbidden')
|
||||
path, rev = _orig_path(request)
|
||||
fp, revision = request.repos.openfile(path, rev)
|
||||
For this reason, ViewVC's "checkout" view is disabled by default. If
|
||||
you wish to enable it, simply add "co" to the list of views enabled in
|
||||
the allowed_views configuration option.
|
||||
|
||||
|
||||
INSTALLING VIEWVC
|
||||
|
|
Loading…
Reference in New Issue