AnonymousAccessList
Summary
Specifies a lists of modules and views that are accessible regardless of the RequireUserLogin setting.
Usage
AnonymousAccessList[]= module1/ view1 AnonymousAccessList[]= module2/ view2 ...
Description
Using the RequireUserLogin setting you can force users to log in in order to get access to a site. However, those users still need access to the log in page in order to log in. This setting controls the modules and views that are accessible regardless of the RequireUserLogin setting.
The default settings allow access to the modules and views related to logging in and registering a user.
Examples
AnonymousAccessList[]=user/register AnonymousAccessList[]=user/forgotpassword
These settings allow access to the register page and the forgotpassword page even if RequireUserLogin is enabled.
Contributors
- Frederik Holljen Maintainer
- Svitlana Shatokhina Updated Maintainer
- Adrien Commenter
- Bertrand Commenter
Comments (2 historical)
Written by readers of the earlier documentation sites, kept as they were.
module functions access
Adrien ·
This is for module's view like defined in module.php's $ViewList array. But how to declare anonymous access to specific module functions?
What are the meaning and weight of the view's 'ui_context'?
Can a module coded with 'ui_context' => 'authentication' can be set as accessible for anonymous from site.ini's AnonymousAccessList?
Re: module functions access
Bertrand ·
You should try posting this on the support forums instead. It's not likely that you get a reply here.