Grant anonymous user full access to siteaccess

Author Message

Ciaran McGrath

Tuesday 10 November 2009 7:28:33 am

Hi,

I wonder if you can help me,

I'd like to grand anonymous users access to all the content in a particular siteaccess. I can't seem to find the right setttings in Ez to do it.

Yannick Komotir

Tuesday 10 November 2009 8:42:28 am

Hi,

go to setup > roles and policies > Anonymous , then edit Anonymous role.

<|- Software Engineer @ eZ Publish developpers -|>
@ http://twitter.com/yannixk

Ciaran McGrath

Tuesday 10 November 2009 8:59:16 am

Hi Yannick,

I got that far, but I can't see what module/function/limitation I can use that will allow the user access to all the content within a certain siteaccess, and not all the others.

Thanks

Ciaran.

Yannick Komotir

Tuesday 10 November 2009 9:10:44 am

Sorry,

Have you try to do that with site.ini settings,

[RoleSettings]
PolicyOmitList[]=content

for concerned siteaccess ?

<|- Software Engineer @ eZ Publish developpers -|>
@ http://twitter.com/yannixk

Ciaran McGrath

Friday 13 November 2009 3:17:45 am

For some reason that doesn't seem to work.

I still get the login box for protected content. Strangely though, I see the login box twice. the first instance looks normal, but the second instance has some debug array information with it.

Quoc Huy Nguyen Dinh

Thursday 03 December 2009 7:01:01 am

Have you added the permission for Anonymous user to user/login in that siteaccess?

They need to be able to access module user, function login, limitation = siteaccess before they can access content.

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 14:55:27
Script start
Timing: Jan 18 2025 14:55:27
Module start 'layout'
Timing: Jan 18 2025 14:55:27
Module start 'content'
Timing: Jan 18 2025 14:55:28
Module end 'content'
Timing: Jan 18 2025 14:55:28
Script end

Main resources:

Total runtime1.1733 sec
Peak memory usage4,096.0000 KB
Database Queries68

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 588.0391152.6406
Module start 'layout' 0.00520.0033 740.679739.4766
Module start 'content' 0.00851.1636 780.1563609.0234
Module end 'content' 1.17210.0011 1,389.179712.1250
Script end 1.1732  1,401.3047 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.2641160.0002
Check MTime0.00140.1196160.0001
Mysql Total
Database connection0.00060.048710.0006
Mysqli_queries1.115795.0955680.0164
Looping result0.00080.0661660.0000
Template Total1.139997.220.5700
Template load0.00160.137020.0008
Template processing1.138397.022820.5692
Template load and register function0.00020.014110.0002
states
state_id_array0.00200.171310.0020
state_identifier_array0.00120.105220.0006
Override
Cache load0.00130.1138280.0000
Sytem overhead
Fetch class attribute can translate value0.00070.059230.0002
Fetch class attribute name0.00140.120880.0002
XML
Image XML parsing0.00400.338430.0013
class_abstraction
Instantiating content class attribute0.00000.001490.0000
General
dbfile0.00590.5063240.0002
String conversion0.00000.000640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 19
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs