Role caching problem

Author Message

Marko Žmak

Wednesday 29 August 2007 5:52:45 am

I have created a new section (with ID 7), added this section for content/read policy in Anonymous Role, and assigned this section to one node. I have two siteacces "public" and "test". When I try to access the nodes from this new section in "public" siteacces everything works OK. But when I try to access it from the "test" siteacces I get "Access denied" message in eZ.

This siteacces have separate cache folders and I have cleared all the caches for "test" siteacces (even deleted manually the whole cache folder) but I still get "Acces denied".

Also in the debug information I get this:

Function required:
Module : content
Function : read
ClassID : 16
MainNodeID : 144
Policies that didn't match:
PolicyID : p_403
Limitation : Section
Required : 1, 3, 6,

It seems to me like user role cache isn't cleared properly. Why does this happen and how can I clear it? Where is user role cache located, somewhere in the cache folder or in the database?

P.S. This two siteacces ("public" and "test") also differ in some INI settings (mostly related to caching and debug).

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

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

Main resources:

Total runtime0.0214 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0080 589.1484152.6250
Module start 'layout' 0.00800.0057 741.773439.4453
Module start 'content' 0.01370.0055 781.218889.3047
Module end 'content' 0.01920.0021 870.523430.3047
Script end 0.0213  900.8281 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002612.2311140.0002
Check MTime0.00125.5720140.0001
Mysql Total
Database connection0.003918.056510.0039
Mysqli_queries0.005124.035930.0017
Looping result0.00000.098210.0000
Template Total0.00178.110.0017
Template load0.00104.531710.0010
Template processing0.00083.548310.0008
Override
Cache load0.00073.221310.0007
General
dbfile0.00031.540380.0000
String conversion0.00000.038040.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