Context Restrict Roles
Categories
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Component created
Component changed
Component body
This module provides a context reaction that will restrict access by role. If the current user triggers a context condition that uses this reaction they will either receive an access denied message or be redirected (based on reaction configuration). This module is still under heavy development but is actively being used.
A few use cases.
1. A site op only wishes to have authenticated users access the members/* path. Using this module one would create a path based context then disallow users in the anonymous role to access that path.
2. A site op wishes to redirect authenticated users when accessing a new member signup form page. Using this module one would create a context with the path of the signup form and then add the redirect to the reaction path.
Known Bugs:
This module currently doesn't get triggered when accessing context conditions based on node type. Fix coming real soon.