Opened 18 years ago
Closed 18 years ago
#5773 closed defect (worksforme)
Trac permissions
| Reported by: | Owned by: | Jonas Borgström | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | general | Version: | 0.10.4 |
| Severity: | normal | Keywords: | authz |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
Hi, I have this situation: We use only one repo in svn. The authentication for trac and svn is one file. For keep different subproject not to be seen by everybody, I'm using:
AuthzSVNAccessFile = /srv/svn/config/authz
And I've created groups and different permissions for different developers.
But I was surprizsd that when you log into trac, you can browse the source, that is forbidden for you in svn.
How can I made trac read the AuthzSVNAccessFile file and follow its permitions. Or should I set somehow permitions on every subfolder/project in trac configs ?
Attachments (0)
Change History (3)
comment:1 by , 18 years ago
comment:2 by , 18 years ago
| Keywords: | authz added |
|---|
Did you try updating to the latest version? It seems that this may not have been integrated in your version…. See also wiki:TracDev/SecurityBranch
comment:3 by , 18 years ago
| Priority: | high → normal |
|---|---|
| Resolution: | → worksforme |
| Status: | new → closed |
You need to point Trac to the authz file with the authz_file option in the [trac] section of your trac.ini file. At any rate, this is a configuration issue.



Well it seams that trac 'understand' only permissions by location like that
Test @dev = rw @all = r
If you try to specify the repo like this:
[myrepo:/Test] @dev = rw @all = r
it get confused
Even in the apache config I specified:
<Location /trac> …
… </Location>
As there will be possibility for using more than one trac. And the svn config is configured for multiple repos, instead of only one (even for now we use one).
I use SVNParentPath instead SVNPath
P.S. I put a wrong mail when i made the ticket :-(