Read access problem during get list of object

Author Message

Anatoly Gubanov

Monday 21 June 2004 7:17:26 am

I need get list of all node which can be read for current user
in parent node. Following code:

        children=fetch( content, list, hash( parent_node_id, $node.node_id,
                                             sort_by, $node.sort_array,     
                                             limit, $page_limit, 
                                             offset, $view_parameters.offset ) )

generate 'Acess denied' exception.

How can I get list all readable objects if folder contains not readable objects for current user ?

Kåre Køhler Høvik

Monday 21 June 2004 7:53:00 am

How are is the roles set up for the user getting 'access denied' ?
Which version of eZ publish are you using ?

--
Kåre Høvik

Kåre Høvik

Anatoly Gubanov

Monday 21 June 2004 8:49:03 am

I use EZ version 3.4.

More detail:
I have folder with some other folders which contains objects (Arcticles for example).
Inner folders assigned to different sections.

User which try to fetch list of folders has permissions read,create and edit Folders and Articles from one of mentioned sections.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.