Forums / General / Help with permissions for indexpage

Help with permissions for indexpage

Author Message

Ralf Tomer

Saturday 30 April 2005 5:10:18 am

Hi,
I'm testing on WinXP (localhost) a multisite settup on one database with ezp 3.5.2.

My problem is that I get access denied errors when I try to load custom index pages, even though I've granted all the neccessary anonymous permissions as far as I can tell.

- I've settup 3 "sites" using siteaccess (called: plain, plain1, plain2)

- For each site I've created a section by the same name

- For each section I've created a content folder by the same name (intended to be the root of each site). I've assigned each folder to the corresponding section.

- In the site.ini.append.php I set the indexpage to the node of each folder. Example: IndexPage=/content/view/full/63/

- I've edited the anonymous role to include:

user:login SiteAccess( plain , plain1 , plain2 )

content:read Section( plain , plain1 , plain2 )

- Plus I have granted anonymous user access to the sections and subtrees by using the "asign with limitation" button to add access to each section and each subtree.

The weird thing is this works perfectly for the first site (plain). The other 2 sites give me access denied errors as soon as I set the indexpage to ANY sub folder. If I set the indexpage to an artical in the root it works. If I set the indexpage to a folder in the root, it doesn't work. Even if I set it to the "plain" folder which DOES work for the "plain" site.

The error in the debug is as follows:
Warning: Insufficient permissions Apr 30 2005 14:03:55

Function required:
Module : content
Function : read
ClassID : 1
MainNodeID : 63
Policies that didn't match:
PolicyID : p_336
Limitation : Section
Required : 1,

It must be a simple problem but I'm banging my head with it - anyone help?

Thanks
Ralf

Fancy a game of Texasholdem?
http://www.texasholdem-poker.info