Force a login for a Section

Author Message

Karl Estermann

Tuesday 06 December 2005 1:30:47 am

I have design 3 section. Now should be for the Section 2 always a login. How can i force a login of a section.

Ɓukasz Serwatka

Tuesday 06 December 2005 1:38:05 am

Set read access for anonymous user only for one section. This will display always user login form when will try access rest of sections in website.

For other users role add read access to 2 other sections.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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 03:26:51
Script start
Timing: Jan 19 2025 03:26:51
Module start 'layout'
Timing: Jan 19 2025 03:26:51
Module start 'content'
Timing: Jan 19 2025 03:26:52
Module end 'content'
Timing: Jan 19 2025 03:26:52
Script end

Main resources:

Total runtime1.1846 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0075 589.1563152.6250
Module start 'layout' 0.00760.0040 741.781339.4453
Module start 'content' 0.01161.1715 781.2266522.2266
Module end 'content' 1.18310.0015 1,303.45318.1641
Script end 1.1846  1,311.6172 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.2941160.0002
Check MTime0.00140.1179160.0001
Mysql Total
Database connection0.00130.110810.0013
Mysqli_queries1.133695.6964540.0210
Looping result0.00040.0368520.0000
Template Total1.140296.320.5701
Template load0.00220.183620.0011
Template processing1.138096.069320.5690
Template load and register function0.00010.010610.0001
states
state_id_array0.00150.130610.0015
state_identifier_array0.00110.089120.0005
Override
Cache load0.00160.139080.0002
Sytem overhead
Fetch class attribute can translate value0.00050.042520.0003
Fetch class attribute name0.00110.090930.0004
XML
Image XML parsing0.00060.053920.0003
class_abstraction
Instantiating content class attribute0.00000.000730.0000
General
dbfile0.00080.0717180.0000
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
2content/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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.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: 5

Time used to render debug report: 0.0002 secs