Forums / Setup & design / Cache and fetch conflict causing defunct access controll?

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

eZ debug

Timing: Jan 31 2025 08:59:32
Script start
Timing: Jan 31 2025 08:59:32
Module start 'content'
Timing: Jan 31 2025 08:59:32
Module end 'content'
Timing: Jan 31 2025 08:59:32
Script end

Main resources:

Total runtime0.1393 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 588.1875180.7969
Module start 'content' 0.00600.0078 768.984493.9766
Module end 'content' 0.01390.1254 862.9609523.1719
Script end 0.1392  1,386.1328 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00352.5456200.0002
Check MTime0.00141.0161200.0001
Mysql Total
Database connection0.00070.505610.0007
Mysqli_queries0.088363.38461410.0006
Looping result0.00110.78691390.0000
Template Total0.125089.810.1250
Template load0.00090.663610.0009
Template processing0.124189.094510.1241
Override
Cache load0.00070.468910.0007
Sytem overhead
Fetch class attribute can translate value0.00060.438110.0006
XML
Image XML parsing0.00020.155110.0002
General
dbfile0.01289.1962200.0006
String conversion0.00000.005830.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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