Forums / Developer / HOWTO? Anonymous access when require user login is set.

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

HOWTO? Anonymous access when require user login is set.

Author Message

Björn X

Wednesday 08 March 2006 5:18:40 pm

I have an intranet with 2 siteaccesses. BOth protected with require userlogin.

It is possible to access one module even if you are not logged in.

I simply have forgotten, if you can do it or not.

Any Help?

Łukasz Serwatka

Wednesday 08 March 2006 11:17:21 pm

Have you tried with?

PolicyOmitList[]=module/view

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Kristof Coomans

Wednesday 08 March 2006 11:18:06 pm

You can use the AnonymousAccessList[] setting in site.ini, under the [SiteAccessSettings] group.

I think PolicyOmitList won't be enough, it is read in index.php after the prechecks (where the RequireUserLogin setting is handled).

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Björn X

Monday 13 March 2006 8:21:41 pm

[SiteAccessSettings]
AnonymousAccessList[]=gis/georssserver

[RoleSettings]
PolicyOmitList[]=gis/georssserver

Argh now it works... I did not change a single setting...

I wonder why it did not work at first place...

Thanks