Forums / Developer / Object states / Comment64447

Author Topic

Lars Eirik R

Thursday 16 December 2010 1:33:53 am

Comment64447

Not giving up on this topic guys..

The permission (p1) allows all anonymous users to read all objects, no limitations (referred to from now as p1)

If i create a new permission (p2) which allows only a certcain subtree to be read only if the object state = proofread will p2 be taken into account or will p1 which is effectively more liberal ignore p2 ?

I have created a new section for testing purposes called "Restricted Access" (referred to as r1)

Experiment

If i change so that p1 excludes content in r1 i seem to be able to have p2 honored.

p2 in this case is configured so that all elements within a certain subtree with a section r1 and object_state = proofread can be read by anonymous users.

I have also experienced issues with the fact that the subtree is ignored in the permission listing, but i am not sure if the code actually ignores the subtree limitation. (subtree bug is not a biggy for me, but should be fixed)

Please guys any respons to this problem?