Hi,

I was playing with the SVN authz to control access to repository
directories,
and noticed that the path that is compared to the authz file is the one
given by "resource.id" [1].
This means that for scoped repositories the svn_authz module treats the
relative path within the scoped repository as the full path.

This was surprising for me,
since I was trying to reuse the same authz file used for serving SVN,
which obviously contains full paths in the unscoped-repository...

I was wondering whether this behavior is by-design, and if so what were the
considerations.
If I'm not the only one who expects the behavior I described, I'd create a
ticket on t.e.o
with a patch to replace "resource.id" in [1] with "url_join(repo_scope,
resource.id)".

Regards,
Itamar O.

[1]
http://trac.edgewall.org/browser/trunk/trac/versioncontrol/svn_authz.py?rev=9353#L154

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Development" group.
To post to this group, send email to trac-...@googlegroups.com.
To unsubscribe from this group, send email to 
trac-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-dev?hl=en.

Reply via email to