If you use the packaged installation and select SVN integration in the wizard (will only work when you select to install Apache2), managed Subversion repositories you create from within OpenProject are automatically available through https using the checkout URL that can be seen in the repository module.
The access permissions of a user are defined by its roles in the project.
I’m having the same problem as Alberto.
I have set up an svn repo via the website and I can update and commit to it without having to authenticate myself.
I’m not using SSL.
Permissions are set only for admins for the moment.
The project is not public.
I used the package installation.
Anyone have any clue why it’s not working?
I’m fairly new to SVN and Apache and OpenProject.
thanks for your comment. There seems to be a problem with more recent versions of Apache2.4 in which Require all granted takes precedence over Require valid-user and thus our repository authentication wrapper is completely skipped in this case.
I could verify the issue locally and believe that it is fixed with the packaged version 5.0.16-1457897821.38c3fbb.trusty that I’ve just built.
Please update to these versions immediately.
You should also be able to fix the issue immediately by deleting the Require all granted reference in /etc/openproject/addons/apache2/includes/vhost/svn_dav.conf.
Replies (3)
Hey Alberto,
If you use the packaged installation and select SVN integration in the wizard (will only work when you select to install Apache2),
managed Subversion repositories you create from within OpenProject are automatically available through https using the checkout URL that can be seen in the repository module.
The access permissions of a user are defined by its roles in the project.
If you use the manual installation, please see the following guide: https://github.com/opf/openproject/blob/dev/doc/operation_guides/manual/repository-integration.md
Best,
Oliver
Hey all!
I’m having the same problem as Alberto.
I have set up an svn repo via the website and I can update and commit to it without having to authenticate myself.
I’m not using SSL.
Permissions are set only for admins for the moment.
The project is not public.
I used the package installation.
Anyone have any clue why it’s not working?
I’m fairly new to SVN and Apache and OpenProject.
Hi Frederik,
thanks for your comment. There seems to be a problem with more recent versions of Apache2.4 in which
Require all granted
takes precedence overRequire valid-user
and thus our repository authentication wrapper is completely skipped in this case.I could verify the issue locally and believe that it is fixed with the packaged version
5.0.16-1457897821.38c3fbb.trusty
that I’ve just built.Please update to these versions immediately.
You should also be able to fix the issue immediately by deleting the
Require all granted
reference in/etc/openproject/addons/apache2/includes/vhost/svn_dav.conf
.Sorry for the troubles caused.
Best,
Oliver