Forums / Setup & design / Role caching problem

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