[[PageOutline(2-5,Contents,pullout)]] = Redirect users to the login screen on !PermissionError. = == Description == This plugin provides two features related to login: * When an anonymous user attempts to visit a page that he does not have access to, he will be sent to the login screen instead of seeing Trac's built-in "Permission Error: maybe you should log in" page. * The plugin can also be configured to ensure that all access to the login screen occurs over HTTPS. These features are independent of one another -- you can install the plugin to provide either feature, or both. == Bugs/Feature Requests == Existing bugs and feature requests for PermRedirectPlugin are [report:9?COMPONENT=PermRedirectPlugin here]. If you have any issues, create a [http://trac-hacks.org/newticket?component=PermRedirectPlugin&owner=ejucovy new ticket]. == Download == Download the zipped source from [download:permredirectplugin here]. == Source == You can check out PermRedirectPlugin from [http://trac-hacks.org/svn/permredirectplugin here] using Subversion, or [source:permredirectplugin browse the source] with Trac. == Example == To enable: {{{ #!ini [components] permredirect.* = enabled }}} This will enable the "redirect to login screen on permission error" feature. The "HTTPS only" feature will not be enabled. To additionally enable the "HTTPS only" feature, use: {{{ #!ini [permredirect] redirect_login_https = true }}} To enable the "HTTPS only" feature and disable the "redirect to login screen on permission error" feature, use: {{{ #!ini [permredirect] redirect_login = false redirect_login_https = true }}} == Recent Changes == [[ChangeLog(permredirectplugin, 3)]] == Author/Contributors == '''Author:''' [wiki:coderanger] [[BR]] '''Maintainer:''' ejucovy [[BR]] '''Contributors:'''