Hi Erik,

Thanks for your reply.
But before I sent my request, I have viewed all of trac wiki.
I still do not find the answer.
And I have configured trac.ini. 
The following is relevant trac section configuration. 

I think the problem is not here.
I do not know which ones roles which is relevant to trac , can be set in my 
AuthzSVNAccessFile.
At present, I customize some roles to take effect in svn path. 
But it is not to take effect in trac path.
This is the point.
 
Thanks advance And Best Regards!
Billy

[trac]
authz_file = D:/Repositories/trac-users.conf
authz_module_name = 
auto_reload = False
base_url = 
check_auth_ip = true
database = sqlite:db/trac.db
default_charset = iso-8859-15
htdocs_location = 
ignore_auth_case = false
mainnav = wiki,timeline,roadmap,browser,tickets,newticket,search
metanav = login,logout,prefs,help,about
permission_policies = DefaultPermissionPolicy, LegacyAttachmentPolicy
permission_store = DefaultPermissionStore
repository_dir = D:\Repositories\svn\semi
repository_type = svn
show_email_addresses = false
timeout = 20
use_base_url_for_redirect = False

-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Erik Bray
Sent: Friday, March 13, 2009 11:42 PM
To: [email protected]
Subject: [Trac] Re: AuthzSVNAccessFile problem for trac


On Fri, Mar 13, 2009 at 12:32 AM, Billy Zhu <[email protected]> wrote:
> Hi all,
>
>
>
> Svn1.5.5 + apache 2.2.11 + trac0.11
>
>
>
> I configure my AuthzSVNAccessFile in svn.
>
> The configuration is successful to take effect in svn.
>
>
>
> And I try to make relevant configuration in trac.
>
>
>
> When a authorized user log on trac and click on “Browse Source” menu.
>
>
>
> He still can view all folder and files of my svn repository.
>
>
>
> And it is failed to take effect in trac.
>
>
>
> The following is configuration items in httpd.conf:
>
> ==========
>
> <Location /projects/semi>
>
> DAV svn
>
> SVNPath D:/Repositories/svn/semi
>
> SVNListParentPath on
>
> AuthType Basic
>
> AuthName "Subversion Repository"
>
> AuthUserFile "D:/Repositories/project-users.db"
>
> AuthzSVNAccessFile "D:/Repositories/svn-users.conf"
>
> Require valid-user
>
> </Location>
>
>
>
> <Location /trac/semi>
>
> SetHandler mod_python
>
> PythonInterpreter main_interpreter
>
> PythonHandler trac.web.modpython_frontend
>
> PythonOption TracEnv D:/Repositories/trac/semi
>
> PythonOption TracUriRoot /trac/semi
>
> SVNPath D:/Repositories/svn/semi
>
> AuthzSVNAccessFile "D:/Repositories/svn-users.conf"
>
> </Location>
>
>
>
> <location /trac/semi/login>
>
> AuthType Basic
>
> AuthName "Infosys"
>
> AuthUserFile "D:/Repositories/project-users.db"
>
> AuthzSVNAccessFile "D:/Repositories/svn-users.conf"
>
> Require valid-user
>
> </location>
>
>
>
> <LocationMatch "/trac/[^/]+/login">
>
> AuthType Basic
>
> AuthName "Infosys"
>
> AuthUserFile "D:/Repositories/project-users.db"
>
> AuthzSVNAccessFile "D:/Repositories/svn-users.conf"
>
> Require valid-user
>
> </LocationMatch>
>
> =========
>
>
>
> How to limit a authorized user to browser part of sources on trac?
>
>
>
> Thanks in advance!
>
> Billy

Set the path to your authz file in your trac.ini.  Check the TracIni
wiki page in Trac's docs to find the exact section/option.



**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
for the use of the addressee(s). If you are not the intended recipient, please 
notify the sender by e-mail and delete the original message. Further, you are 
not 
to copy, disclose, or distribute this e-mail or its contents to any other 
person and 
any such actions are unlawful. This e-mail may contain viruses. Infosys has 
taken 
every reasonable precaution to minimize this risk, but is not liable for any 
damage 
you may sustain as a result of any virus in this e-mail. You should carry out 
your 
own virus checks before opening the e-mail or attachment. Infosys reserves the 
right to monitor and review the content of all messages sent to or from this 
e-mail 
address. Messages sent to or from this e-mail address may be stored on the 
Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to