Forums / General / Grant anonymous user full access to siteaccess

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.

eZ debug

Timing: Jan 30 2025 21:44:48
Script start
Timing: Jan 30 2025 21:44:48
Module start 'content'
Timing: Jan 30 2025 21:44:48
Module end 'content'
Timing: Jan 30 2025 21:44:48
Script end

Main resources:

Total runtime0.0251 sec
Peak memory usage6,144.0000 KB
Database Queries4

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 588.0547370.2813
Module start 'content' 0.00550.0133 958.33591,005.5781
Module end 'content' 0.01870.0063 1,963.914174.7031
Script end 0.0250  2,038.6172 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00239.0824120.0002
Check MTime0.00093.6780120.0001
Mysql Total
Database connection0.00062.204510.0006
Mysqli_queries0.00197.658340.0005
Looping result0.00000.039920.0000
Template Total0.005923.410.0059
Template load0.00093.644710.0009
Template processing0.004919.689510.0049
Override
Cache load0.00072.667510.0007
General
dbfile0.003513.8773100.0003
String conversion0.00000.020030.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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