Modify ↓
#2235 closed defect (worksforme)
Source browser doesn't work correctly with SVN authz files.
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 0.9b2 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Version 0.9b2 of Trac doesn't understand well path entries in authz files if they are written in format "[repo:/path]".
Example: project.authz file:
[project:/] user = rw
Access via source browser:
http://host.homeip.net/project/browser/trunk Permission Denied Insufficient permissions to access /trunk/
access trough mod_dav_svn works fine:
[user@host ~]$ svn ls http://host.homeip.net/svn/project/trunk/ README
Attachments (0)
Change History (2)
comment:1 by , 19 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
comment:2 by , 19 years ago
Thanks. I didn't mention this.
BTW, maybe it would be more logical if this option not set, try to guess it by
module_name = env.config.get('trac','authz_module_name','') if not module_name: module_name = os.path.basename(env.config.get('trac','repository_dir'))
Note:
See TracTickets
for help on using tickets.
When you use the authz settings in the form
[module:/path]
make sure that you've setauthz_module_name
in your trac.ini file. See FineGrainedPermissions for more information on configuring the authz settings.