Role policy - Limit access by section?

Author Message

Mark Irvine

Tuesday 13 April 2004 10:04:49 am

Hi,

I want to be able to limit the Anonymous user to certain sections. I have several sections defined. When I go to
->Create policy for Anonymous
->Step 1
->Give access to module
I select
'Section' from the list of modules, and click the 'Allpw limited' Button. But I get this message:
'You are not able to give access to limited functions of module section because function list for it is not defined.'

So how do I define areas where the anonymous user can/can't go?

Mark Marsiglio

Tuesday 13 April 2004 11:15:34 am

Instead of section, set the policy for content.

I would set the content module, read function to only allow the sections that you want. This is a multi-select list on which you can exclude sections such as media, users, and whatever sections that you only want to be available to those who have logged in and proven they are not "anonymous".

http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions

Mark Irvine

Tuesday 13 April 2004 11:31:44 am

Hi Mark,

That seems to work. Thanks!

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 16:20:39
Script start
Timing: Jan 18 2025 16:20:39
Module start 'layout'
Timing: Jan 18 2025 16:20:39
Module start 'content'
Timing: Jan 18 2025 16:20:39
Module end 'content'
Timing: Jan 18 2025 16:20:39
Script end

Main resources:

Total runtime0.0160 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.0061 589.1484152.6406
Module start 'layout' 0.00610.0034 741.789139.4609
Module start 'content' 0.00960.0043 781.250089.3203
Module end 'content' 0.01390.0021 870.570330.3047
Script end 0.0159  900.8750 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002515.5539140.0002
Check MTime0.00117.0251140.0001
Mysql Total
Database connection0.00074.632110.0007
Mysqli_queries0.002817.574730.0009
Looping result0.00000.188310.0000
Template Total0.001710.910.0017
Template load0.00095.373510.0009
Template processing0.00095.516910.0009
Override
Cache load0.00063.723310.0006
General
dbfile0.00042.224180.0000
String conversion0.00010.569540.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