Friday, January 13, 2012

Modifying Trac User Privilege into Trac Admin

The basics to modify Trac user privilege into Trac admin is explained in detail here: http://trac.edgewall.org/wiki/TracPermissions.

Why would you want to do that? I found an excuse to do just that because I prefer to make changes to milestones, tickets, etc. via the Trac web interface instead of via command line. Now, let's see what you need to do to change a "normal" user login into a trac admin login. You need to run the trac-admin utility from your trac server akin to this example (change the user name as needed):

me@mymachine:$ trac-admin    permission  add    TRAC_ADMIN
Now, the your_username user should be promoted into Trac admin and you will see the admin button when you login as that user in your Trac web page.

That's it.


Post a Comment

No comments: