Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Securing trac from anonymous users?

I have set up trac on my domain for issue tracking. How to I configure it so that when anonymous users visit the domain, ALL they see is a login form. Basically I want 2 security levels:

anonymous - visitors only have access to a login option

users (i.e. everybody else who has logged in) - have access to everything

Thanks!

like image 565
oym Avatar asked Feb 16 '10 16:02

oym


1 Answers

You can remove all permissions for the anonymous user:

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

For details see the Trac permission docs
Trac offers two different permission groups by default:

  • authenticated
  • anonymous

The docs describe how to change the group defaults and how you can form new permission sets in the permission groups section.

like image 195
Thomas Zoechling Avatar answered Sep 19 '22 22:09

Thomas Zoechling