Anonymous access to modules and views

Author Message

Mickel Scofield

Wednesday 21 March 2007 10:04:47 am

hi,

I want to give anonymous users access to modules and module views, how to do this ?

thanks in advance.

kracker (the)

Wednesday 21 March 2007 10:51:36 am

This is abusive posting to continue to unnecessarily create similar topic threads.
<i>http://ez.no/community/forum/install_configuration/anonymous_access_to_modules_and_views</i>

You could do what you wish via the admin -> user -> roles functionality,

Alternately there is a ini setting you can use to set this per custom extension module.

Review the settings/site.ini file as an example reference.

[RoleSettings]
EnableCaching=true
# Which users' policies to cache. enabled means all users, disabled means no
# user and a comma separated list of user id's means that only the policies for
# those users are cached
UserPolicyCache=enabled
# A list of modules to omit policy checking on,
# You should add 'role' to the list if you loose
# access to the role module
# You can also specify views by adding a / and the viewname
PolicyOmitList[]
PolicyOmitList[]=user/login
PolicyOmitList[]=user/logout
PolicyOmitList[]=user/register
PolicyOmitList[]=user/activate
PolicyOmitList[]=user/success
PolicyOmitList[]=user/forgotpassword
PolicyOmitList[]=sdk##!
PolicyOmitList[]=layout
PolicyOmitList[]=manual
PolicyOmitList[]=ezinfo
PolicyOmitList[]=dhtml##!
PolicyOmitList[]=paynet##!
PolicyOmitList[]=paypal/notify_url

//kracker

Member since: 2001.07.13 || http://ezpedia.se7enx.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 31 2025 04:15:03
Script start
Timing: Jan 31 2025 04:15:03
Module start 'layout'
Timing: Jan 31 2025 04:15:03
Module start 'content'
Timing: Jan 31 2025 04:15:03
Module end 'content'
Timing: Jan 31 2025 04:15:03
Script end

Main resources:

Total runtime0.0149 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.0051 588.2500151.2266
Module start 'layout' 0.00510.0024 739.476636.6797
Module start 'content' 0.00740.0060 776.156390.2813
Module end 'content' 0.01350.0014 866.437529.9922
Script end 0.0149  896.4297 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002214.9854140.0002
Check MTime0.00106.8693140.0001
Mysql Total
Database connection0.00074.934510.0007
Mysqli_queries0.002516.620130.0008
Looping result0.00000.073410.0000
Template Total0.00106.510.0010
Template load0.00085.047810.0008
Template processing0.00021.452710.0002
Override
Cache load0.00053.393910.0005
General
dbfile0.001711.163680.0002
String conversion0.00000.049540.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