> Tim C-2 wrote: > > > > Hey everyone, > > > > When I set the admin field in the trac.ini file to any user, nothing > > happens. It works on the very first project I created when I > > installed Trac/Subversion, but on every subsequent project it doesn't > > work. (I use a different password file for every trac project). I can > > login fine and everything else seems to work. > > > > > -----Original Message----- > From: [email protected] On Behalf Of Ryan J Ollos > Sent: 13 February 2011 08:10 > To: [email protected] > Subject: Re: [Trac] admin tab not appearing > > Are you talking about setting the [project] admin field (1)? My > understanding is that you need to grant TRAC_ADMIN for a user in each > project. > > (1) http://trac.edgewall.org/wiki/TracIni#project-section > > -- > View this message in context: > http://old.nabble.com/admin-tab-not-appearing-tp30902362p30913177.html > Sent from the Trac Users mailing list archive at Nabble.com. > The "admin" field in the trac.ini is just a reference email and has nothing to do with actual permissions. As you found you can list the actual permissions configured and the example you gave showed you had not actually set the permissions for any of your users.
Have you read the manual page at http://trac.edgewall.org/wiki/TracPermissions ? Then you need to grant yourself admin role in each trac environment, something like: > trac-admin <path-to-env> permission add <user> <permissions> ...the example near the top of the link above is: $ trac-admin /path/to/projenv permission add bob TRAC_ADMIN Regardless of how you authenticate your users (separate or a shared users file), the authorisation (permissions) info is unique to an environment (it is stored in the environment's database). ~ mark c -- 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.
