Hi there,
I noticed today that - when User is selected under Authentication method - sventon requires this user to have read access to the repository root in order for him to browse any subfolder to which he user has permission
to read. However, TortoiseSVN
behaves differently. It does allow browsing / check-out of subfolders
without the requirement to be able to read the repo root.
It appears as though sventon won't use the information in the requested URL to check for read permissions for that particular path.
Thx much,
-ar
Hi!
> I noticed today that - when User is selected under Authentication method -
> sventon requires this user to have read access to the repository root in
> order for him to browse any subfolder to which he user has permission
> to read. However, TortoiseSVN behaves differently. It does allow browsing /
> check-out of subfolders without the requirement to be able to read the repo
> root.
It's only the user used by the cache that needs read access to the
entire repository.
> It appears as though sventon won't use the information in the requested URL
> to check for read permissions for that particular path.
It should be fine to configure a user to have access rights only to a
sub folder, like this:
[/]
* =
[/myproject]
@project_members = r
When accessing sventon the following URL would be denied (and cause
the login screen to reappear)
http://localhost:9999/svn/repos/code/list/
However, the following would be ok for users in the "project_members" group:
http://localhost:9999/svn/repos/code/list/myproject/
Regards
Jesper
> Thx much,
> -ar
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "sventon support" group.
> To post to this group, send email to sventon...@googlegroups.com.
> To unsubscribe from this group, send email to
> sventon-suppo...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/sventon-support?hl=en.
Yes, indeed!
The following config works for me:
File: "svnserve.conf"
[general]
realm = test repo
anon-access = none
auth-access = write
password-db = passwd
authz-db = authz
File: "passwd"
[users]
superuser = superuser
restricteduser = restricteduser
File: "authz"
[/]
superuser = rw
restricteduser =
[/myproject]
restricteduser = r
File: "sventon.properties"
enableAccessControl=true
userName=
userPassword=
useCache=true
cacheUserName=superuser
cacheUserPassword=superuser
repositoryRootUrl=svn\://localhost/test
rssTemplateFile=/rsstemplate.html
allowZipDownloads=true
mailTemplateFile=/mailtemplate.html
enableEntryTray=true
repositoryDisplayRootUrl=svn\://localhost/test
enableIssueTrackerIntegration=false
rssItemsCount=20
-----
Regards
Jesper
Hi!
I can confirm that the HTTP implementation behaves differently!
We need to do some changes in the code to handle this case and I'm
afraid I cannot promise you that we will have time to do this in the
near future.