Forums / Developer / HOWTO? Anonymous access when require user login is set.
Björn [email protected]
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
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