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.

eZ debug

Timing: Jan 18 2025 19:36:53
Script start
Timing: Jan 18 2025 19:36:53
Module start 'layout'
Timing: Jan 18 2025 19:36:53
Module start 'content'
Timing: Jan 18 2025 19:36:53
Module end 'content'
Timing: Jan 18 2025 19:36:53
Script end

Main resources:

Total runtime0.0154 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0059 588.1406152.6406
Module start 'layout' 0.00590.0028 740.781339.4766
Module start 'content' 0.00870.0047 780.257893.3672
Module end 'content' 0.01340.0020 873.625034.3047
Script end 0.0154  907.9297 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002818.1710140.0002
Check MTime0.00127.6570140.0001
Mysql Total
Database connection0.00084.926710.0008
Mysqli_queries0.002214.519230.0007
Looping result0.00000.142010.0000
Template Total0.001610.510.0016
Template load0.00095.761710.0009
Template processing0.00074.673610.0007
Override
Cache load0.00064.053110.0006
General
dbfile0.00031.716380.0000
String conversion0.00000.046340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs