Section show don't change ...

Author Message

dd pp

Wednesday 21 September 2005 8:03:24 pm

I use
{section show=$node.object.can_edit}
to make some content only readable to the creator of the object.
(I have made that node to be editable by "self" only)

The problem is that when the creator log out, and log in with another user, the content is still there. I have to clear the cache to let it go.

I remember one month ago, this didn't happen. When I change user, the content will change according to the rights. I mean the cache won't make any trouble.

What happened?
Did I change anything wrong?

Please help.

Thank you.

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 11:42:49
Script start
Timing: Jan 19 2025 11:42:49
Module start 'layout'
Timing: Jan 19 2025 11:42:49
Module start 'content'
Timing: Jan 19 2025 11:42:51
Module end 'content'
Timing: Jan 19 2025 11:42:51
Script end

Main resources:

Total runtime2.2173 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.0072 589.1563152.6250
Module start 'layout' 0.00720.0059 741.781339.4453
Module start 'content' 0.01312.2026 781.2266400.7656
Module end 'content' 2.21570.0015 1,181.99228.1641
Script end 2.2173  1,190.1563 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.1632160.0002
Check MTime0.00140.0644160.0001
Mysql Total
Database connection0.00150.066610.0015
Mysqli_queries2.170797.8969460.0472
Looping result0.00050.0212440.0000
Template Total2.167897.821.0839
Template load0.00250.110920.0012
Template processing2.165397.654921.0826
Template load and register function0.00020.010610.0002
states
state_id_array0.00100.045010.0010
state_identifier_array0.00250.110820.0012
Override
Cache load0.00200.0924130.0002
Sytem overhead
Fetch class attribute can translate value0.00100.044210.0010
Fetch class attribute name0.00060.025110.0006
XML
Image XML parsing0.00020.008010.0002
class_abstraction
Instantiating content class attribute0.00000.000210.0000
General
dbfile0.00140.0644100.0001
String conversion0.00000.000540.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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.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.0001 secs