Best method to deny access to a sub-tree

Author Message

James Ward

Tuesday 05 July 2005 7:33:35 am

Using version 3.6.0

I have a lot of content low on the site tree which I would like to limit access too. I intend to only allow registered members access to these sub-nodes.

-Level 1 *Anon Access*
--Level 2 *Anon Access*
---Level 3 *Anon Access*
----Level 4 *Members Only*

I am confused about how best to accomplish this. I don't want to have to manually add all the top level nodes just to restrict access to the low level nodes. Currently it appears that assigning the low level nodes to a members section is my best bet. However if I get into multiple user groups ie bronze, silver, gold users I will have to create new sections for each group.

Is there a better way to exclude a sub-node from a role?

working at www.wardnet.com
blogging at www.jamesward.ca

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 19 2025 02:33:14
Script start
Timing: Jan 19 2025 02:33:14
Module start 'layout'
Timing: Jan 19 2025 02:33:14
Module start 'content'
Timing: Jan 19 2025 02:33:15
Module end 'content'
Timing: Jan 19 2025 02:33:15
Script end

Main resources:

Total runtime1.1799 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0093 589.2891152.6406
Module start 'layout' 0.00930.0045 741.929739.4766
Module start 'content' 0.01381.1636 781.4063462.4922
Module end 'content' 1.17740.0024 1,243.89848.1250
Script end 1.1798  1,252.0234 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00440.3769160.0003
Check MTime0.00220.1833160.0001
Mysql Total
Database connection0.00160.134310.0016
Mysqli_queries1.134996.1873460.0247
Looping result0.00050.0428440.0000
Template Total1.139996.620.5699
Template load0.00250.207920.0012
Template processing1.137496.402820.5687
Template load and register function0.00010.009710.0001
states
state_id_array0.00080.067210.0008
state_identifier_array0.00190.159420.0009
Override
Cache load0.00190.1632120.0002
Sytem overhead
Fetch class attribute can translate value0.00120.101710.0012
Fetch class attribute name0.00080.064020.0004
XML
Image XML parsing0.00050.041410.0005
class_abstraction
Instantiating content class attribute0.00000.000320.0000
General
dbfile0.00100.0827160.0001
String conversion0.00000.000840.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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 7
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs