Deploying the Trac Timeline and Browse Source Features
15 February, 2008

So, why the blog post? Well, it is not immediately obvious how to enable just the Timeline, Browse Source, and Search features in Trac, and disable the remaining features such as the Roadmap, Tickets, and the Wiki. (All of these features can be seen in the Trac site in the navigation bar off to the right.) It turns out that Trac is database driven, and disabling these features can be accomplished from the command line as follows with the trac-admin command:
$ trac-admin /path/to/trac_directory permission remove anonymous
TICKET_CREATE TICKET_MODIFY TICKET_VIEW ROADMAP_VIEW REPORT_VIEW
MILESTONE_VIEW REPORT_SQL_VIEW WIKI_CREATE WIKI_MODIFY WIKI_VIEW
Also, you will need to set the default_handler variable in the conf/trac.ini
file to BrowserModule instead of WikiModule. Using the above command, the Trac
navigation bar only includes the Timeline, Browse Source, and Search features as seen
here, and this is a valuable configuration
for small open source projects. However, if you would like additional functionality in Trac to
be enabled for the Cipherdyne projects please email me; perhaps there are benefits here that
would justify the change.