Caution: This documentation is for eZ Publish legacy, from version 3.x to 6.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.

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.

Frederik Holljen (04/03/2005 12:04 pm)

Svitlana Shatokhina (21/09/2006 9:55 am)

Frederik Holljen, Svitlana Shatokhina


Comments

  • module functions access

    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

      You should try posting this on the support forums instead. It's not likely that you get a reply here.