You are here

README.txt in Login And Logout Redirect Per Role 8

Login And Logout Redirect Per Role
---------------------

About
---------------------
Module provides ability:

 * Redirect user (to specific URL) on Log in
 * Redirect user (to specific URL) on Log out
 * Set specific redirect URL for each role
 * Set roles redirect priority
 * Use Tokens in Redirect URL value
 * CAS integration

Roles order in list (configuration form) is their priorities:
higher in list - higher priority. For example: You set roles ordering as:

+ Admin
+ Manager
+ Authenticated

It means that when some user log in (in case of "Login redirect" table,
configuration form) or log out (in case of "Logout redirect" table,
configuration form) module will check:

Does this user have Admin role?

 * Yes and Redirect URL is not empty: Redirect to related URL
 * No or Redirect URL is empty:

Does this user have Manager role?

 * Yes and Redirect URL is not empty: Redirect to related URL
 * No or Redirect URL is empty:

Does this user have Authenticated role?

 * Yes and Redirect URL is not empty: Redirect to related URL
 * No or Redirect URL is empty: Use default Drupal action

Installation
---------------------
 1. Install the module to modules/contrib or modules folder
 2. Enable Login And Logout Redirect Per Role module

Configuration
---------------------

 * In menu go to: Configuration -> System -> Login and Logout Redirect per role
   (or /admin/people/login-and-logout-redirect-per-role)

 * Set "Login redirect" table "Redirect URL" values and roles priority
   (order in table) to setup redirect user on Log in action. Or leave
   "Redirect URL" values empty if you don't need redirect on user Log in.

 * Set "Logout redirect" table "Redirect URL" values and roles priority
   (order in table) to setup redirect user on Log out action. Or leave
   "Redirect URL" values empty if you don't need redirect on user Log in.

 * Click "Save configuration" button.

File

README.txt
View source
  1. Login And Logout Redirect Per Role
  2. ---------------------
  3. About
  4. ---------------------
  5. Module provides ability:
  6. * Redirect user (to specific URL) on Log in
  7. * Redirect user (to specific URL) on Log out
  8. * Set specific redirect URL for each role
  9. * Set roles redirect priority
  10. * Use Tokens in Redirect URL value
  11. * CAS integration
  12. Roles order in list (configuration form) is their priorities:
  13. higher in list - higher priority. For example: You set roles ordering as:
  14. + Admin
  15. + Manager
  16. + Authenticated
  17. It means that when some user log in (in case of "Login redirect" table,
  18. configuration form) or log out (in case of "Logout redirect" table,
  19. configuration form) module will check:
  20. Does this user have Admin role?
  21. * Yes and Redirect URL is not empty: Redirect to related URL
  22. * No or Redirect URL is empty:
  23. Does this user have Manager role?
  24. * Yes and Redirect URL is not empty: Redirect to related URL
  25. * No or Redirect URL is empty:
  26. Does this user have Authenticated role?
  27. * Yes and Redirect URL is not empty: Redirect to related URL
  28. * No or Redirect URL is empty: Use default Drupal action
  29. Installation
  30. ---------------------
  31. 1. Install the module to modules/contrib or modules folder
  32. 2. Enable Login And Logout Redirect Per Role module
  33. Configuration
  34. ---------------------
  35. * In menu go to: Configuration -> System -> Login and Logout Redirect per role
  36. (or /admin/people/login-and-logout-redirect-per-role)
  37. * Set "Login redirect" table "Redirect URL" values and roles priority
  38. (order in table) to setup redirect user on Log in action. Or leave
  39. "Redirect URL" values empty if you don't need redirect on user Log in.
  40. * Set "Logout redirect" table "Redirect URL" values and roles priority
  41. (order in table) to setup redirect user on Log out action. Or leave
  42. "Redirect URL" values empty if you don't need redirect on user Log in.
  43. * Click "Save configuration" button.