On Tue, Feb 3, 2009 at 5:58 PM, cambo_frog <[email protected]> wrote: > > Hi All, > I am new to trac and svn, but have both setup and working OK with > Apache. > > I have Apache setup on Windows XP to use multiple projects( trac > environments) using the following in httpd.conf: > > <Location /trac-projects> > SetHandler mod_python > PythonInterpreter main_interpreter > PythonHandler trac.web.modpython_frontend > PythonOption TracEnvParentDir E:/trac-projects > PythonOption TracUriRoot /trac-projects > PythonDebug On > AuthType Basic > AuthName "Trac projects" > AuthUserFile passwd > Require valid-user > </Location> > > The line: > PythonOption TracEnvParentDir E:/trac-projects > > ...enablaling multiple project browsing. > > I can add a permission for a single project, e.g. > trac-admin E:/trac-projects/trac-test permission add admin TRAC_ADMIN > > I cannot add permissions to the trac projects parent directory (E:/ > trac-projects). > I guess that's because the parent directory doesn't contain a trac > environment, but is there any way of adding permissions to all > projects under TracEnvParentDir (E:/trac-projects) or do all > permissions have to be set per project? > > Thanks in advance for your help.
Not that I'm aware of Trac-Admin needs an environment passed to it, you could probably right a script that wraps your environments in a loop and iterate through them. Matt P. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
