Open link in a new tab

Content

Expand project menu

Subversion repository anonymous checkout

Hi, I cannot find a way to enable anonymous checkout from public project subversion repository. It is accessible directly from OpenProject without login, it is possible to browse the repository and revisions but the subversion command "svn checkout" requires login.

The project is public, "Authentication required" is unchecked, in users there is a role "Read-only access to repository (browse and checkout)" checked for "Anonymous" and "Non member" roles, also in Permissions report it is checked. The repository is managed by OpenProject.

In apache2 configuration in svn_dav.conf there is:

<Location /svn/>
  ErrorDocument 401 default
  ErrorDocument 403 default
  ErrorDocument 404 default

  DAV svn
  SVNParentPath "/var/db/openproject/svn"

  # Avoid listing available repositories
  SVNListParentPath Off

  # Avoid path-based authorization
  SVNPathAuthz Off

  <IfModule !mod_authz_core.c>
    Order deny,allow
    Allow from all
  </IfModule>

  DirectorySlash Off

  AuthType Basic
  AuthName "Openproject SVN"
  Require valid-user

  PerlAccessHandler Apache::OpenProjectAuthentication::access_handler
  PerlAuthenHandler Apache::OpenProjectAuthentication::authen_handler

  OpenProjectUrl 'http://127.0.0.1:6000/'
  OpenProjectApiKey 'apikeychanged'
</Location>

May be the AuthType Basic and Require valid-user is the cause? Or the access handler should take care of it? Any thoughts?

Thank you