Restricted access problem - it works after first login only

Author Message

Rainer Krauss

Thursday 06 August 2009 6:31:09 am

Dear all,

hope you can shed some light on this odd issue:

I intend to implement a "members only" area in my website. To do that, I followed the how-to guides on ez.no: I created a node (and content), assigned it a certain section ('Restricted', as already available from the standard installation of eZ 4.1.0) and loged in with a user that had access to content / read / section Restricted.
It works fine - exactly one time only. When I clear all caches of eZ, and then login, I can see the restricted content all right. When I log out and login again, there's nothing there (and entering the URL of the relevant page manually takes me to a page that tells me I had not sufficient rights to view the page). It satys that way until i clear all caches of eZ again, after which I can see the content again for one time only.

Anyone else having experienced a similar issue?

Best wishes,
Rainer

André R.

Thursday 06 August 2009 8:09:02 am

Its a know issue in 4.1.0, update to latest 4.1.x version to fix it.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Rainer Krauss

Monday 10 August 2009 3:15:48 am

Thank you Andre!

Implementing the patches referenced at
http://issues.ez.no/014660
http://issues.ez.no/014622
worked well for me.

Best wishes,
Rainer

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 31 2025 00:39:36
Script start
Timing: Jan 31 2025 00:39:36
Module start 'layout'
Timing: Jan 31 2025 00:39:36
Module start 'content'
Timing: Jan 31 2025 00:39:36
Module end 'content'
Timing: Jan 31 2025 00:39:36
Script end

Main resources:

Total runtime0.0238 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 588.3906151.2422
Module start 'layout' 0.00520.0036 739.6328220.7500
Module start 'content' 0.00880.0136 960.3828997.8672
Module end 'content' 0.02230.0015 1,958.250033.9922
Script end 0.0238  1,992.2422 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002711.3330140.0002
Check MTime0.00124.8906140.0001
Mysql Total
Database connection0.00073.019710.0007
Mysqli_queries0.00239.831130.0008
Looping result0.00000.042010.0000
Template Total0.00114.610.0011
Template load0.00093.606710.0009
Template processing0.00021.006910.0002
Override
Cache load0.00062.596810.0006
General
dbfile0.00114.614680.0001
String conversion0.00000.035040.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_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