HOWTO? Anonymous access when require user login is set.

Author Message

Björn Dieding@xrow.de

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?

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Ł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 Dieding@xrow.de

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

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.