No Anonymous Access
All anonymous user requests are redirected to the login page. You do not need to revoke all permissions manually. Great to use with the AccountManagerPlugin.
By default static resources from plugins are allowed, i.e URLs /chrome/something are not blocked. If you want to block everything except /chrome/common (standard Trac styles) and /chrome/site (environment customizations), add the following block to trac.ini
[noanonymous] paranoid = true
See also PermRedirectPlugin for conditional user redirects.
If you have any issues, create a new ticket.
Zipped plugin source can be downloaded from here.
Unpack or checkout downloaded source into plugins/ directory of your Trac project environment.
Enable the noanonymous plugin in trac.ini
noanonymous.* = enabled
Open your Trac project site as anonymous and all you can access is the login page, regardless of anonymous user permissions.
#8868 - redirect to original page after login
write comment fully
relax filtering to allow static resources from third-party plugins added paranoid option for conservative behavior
add /chrome/site and /chrome/common to exclusion filter for fetching static resources to avoid rendering login form in spartan mode. fixes: #1642 - no images/css #7200 - Don't redirect resources (like css) to the login page