Changes between Version 4 and Version 5 of PermRedirectPlugin


Ignore:
Timestamp:
Nov 20, 2012 3:41:16 PM (22 months ago)
Author:
ejucovy
Comment:

Remove ancient reference to deprecated plugin; add details of new "login through HTTPS only" feature

Legend:

Unmodified
Added
Removed
Modified
  • PermRedirectPlugin

    v4 v5  
    55== Description == 
    66 
    7 Similar to the AuthRequiredPlugin, but considerably more intelligent in that it will only redirect on a failure. 
     7This plugin provides two features related to login: 
     8 
     9 * 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. 
     10 * The plugin can also be configured to ensure that all access to the login screen occurs over HTTPS. 
     11 
     12These features are independent of one another -- you can install the plugin to provide either feature, or both. 
    813 
    914== Bugs/Feature Requests ==  
     
    3237}}} 
    3338 
     39This will enable the "redirect to login screen on permission error" feature.  The "HTTPS only" feature will not be enabled. 
     40 
     41To additionally enable the "HTTPS only" feature, use: 
     42{{{ 
     43[permredirect] 
     44redirect_login_https = true 
     45}}} 
     46 
     47To enable the "HTTPS only" feature and disable the "redirect to login screen on permission error" feature, use: 
     48{{{ 
     49[permredirect] 
     50redirect_login = false 
     51redirect_login_https = true 
     52}}} 
     53 
    3454== Recent Changes == 
    3555