Cache and fetch conflict causing defunct access controll?

Author Message

Tore Skobba

Thursday 16 October 2003 4:55:19 am

Hi all

I have a problems in my template (.tpl) which shows the folder links on my site (i.e. News, Contact, About us etc.). Under the News folder I have made 2 new folders, 1 of those is assigned section different from the standard. This section is only available to a certain user group, restricted access (implmented with a role giving access to that section).

However, this does not seem to work properly, an error is typically that I log in with the user which has access to the restricted section. However, the restricted folder (the one belonging to the restricted section) does not show, but the other sub folder belonging to the standard section is displayed. I then have to force a view onto the restricted folder with pasting the content/view/full(node_id) url into a Browser window. This then causes my main menu to update itselfs and it now shows both folders, and now it work for this user. However, if I now log out, then all users can see the restricted folder (note they can only see it's name and link, but NOT the actual content of it).

So is this a bug, me doing something wrong or?

Cheers
Tore

Paul Borgermans

Thursday 16 October 2003 6:36:17 am

Tore

This is a bug (reported already) with subtree fetches and permssions (roles). From what I see in the svn updates, this could be fixed in 3.2-2 but I did not try it yet. Are you running the latest?

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Tore Skobba

Thursday 16 October 2003 7:52:15 am

Hi Paul

Admin System information.Version tells me: 3.2-1 (3.2). So I guess I am not running the latest, think I will wait for 3.3 to check if the bug has been fixed (dont bother with 3.2.xxx versions).. I will just make a temporary solution for the time being.
Thanks for answer.

Cheers
Tore

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 04:43:20
Script start
Timing: Jan 19 2025 04:43:20
Module start 'layout'
Timing: Jan 19 2025 04:43:20
Module start 'content'
Timing: Jan 19 2025 04:43:20
Module end 'content'
Timing: Jan 19 2025 04:43:20
Script end

Main resources:

Total runtime0.8619 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0068 589.4141152.6563
Module start 'layout' 0.00680.0032 742.070339.5078
Module start 'content' 0.01000.8503 781.5781536.0000
Module end 'content' 0.86030.0016 1,317.578112.0938
Script end 0.8619  1,329.6719 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3867160.0002
Check MTime0.00140.1570160.0001
Mysql Total
Database connection0.00100.114610.0010
Mysqli_queries0.808993.8423570.0142
Looping result0.00070.0758550.0000
Template Total0.823595.520.4117
Template load0.00210.245720.0011
Template processing0.821395.287120.4107
Template load and register function0.00020.028710.0002
states
state_id_array0.00140.163810.0014
state_identifier_array0.00120.140120.0006
Override
Cache load0.00180.2042200.0001
Sytem overhead
Fetch class attribute can translate value0.00070.075620.0003
Fetch class attribute name0.00130.147140.0003
XML
Image XML parsing0.00090.104920.0005
class_abstraction
Instantiating content class attribute0.00000.001240.0000
General
dbfile0.00100.1209170.0001
String conversion0.00000.001140.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.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: 15
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs