Trace protection from anonymous users?

I installed trac for my domain to track problems. How to configure it so that when anonymous users visit the domain, ALL that they see is a login form. Basically I want 2 levels of security:

anonymous - visitors have access to the login option

users (i.e. everyone who is logged in) - have access to all

Thank!

+5
source share
3 answers

You can remove all permissions for an anonymous user:

trac-admin /path/to/projenv permission remove anonymous '*'

For more information, see Trac Permission Documents .
By default, Trac offers two different permission groups:

  • authentication
  • anonymous

, .

+6

, Thomas Zoechling, , trac 1.0.2 :

trac-admin /path/to/projenv permission list anonymous
#gets: BROWSER_VIEW  CHANGESET_VIEW  FILE_VIEW  LOG_VIEW  MILESTONE_VIEW  REPORT_SQL_VIEW  REPORT_VIEW  ROADMAP_VIEW  SEARCH_VIEW  TICKET_VIEW  TIMELINE_VIEW  WIKI_VIEW
trac-admin /path/to/projenv permission remove anonymous '*'
trac-admin /path/to/projenv permission add authenticated BROWSER_VIEW  CHANGESET_VIEW  FILE_VIEW  LOG_VIEW  MILESTONE_VIEW  REPORT_SQL_VIEW  REPORT_VIEW  ROADMAP_VIEW  SEARCH_VIEW  TICKET_VIEW  TIMELINE_VIEW  WIKI_VIEW
+1

You need to look at AccountManagerPlugin . It allows forms-based authentication. You also want to remove permissions anonymous as described in another post.

0
source

All Articles