sections and related object - strange behaviour

Author Message

Heiner Wurbs

Thursday 04 August 2005 6:39:39 am

Hi there,
I'm wondering about a behaviour of eZ. The situation is as follows: I have a file inside the media section which I use as a related object inside a xml block of a folder in the standard section.
If I view this with the anonymous user, who has only read access to the standard section, the title of the file is displayed, but when I click to this file title, I have no access until I'm logged into the system. I would now expect, that I do not see anything of this file or that I can access the file complete; but this is mysterious. Is it a bug?
Any hints? I'm using 3.6.0.
Heiner

Xavier Dutoit

Thursday 04 August 2005 8:22:45 am

Hi Heiner,

I have the same behavior on 3.5. I also was wondering if it was a bug or a feature.

If I remember right, I modified the embeded template to check by hand if the viewer had the right to access the object. At the end, I gave anonymous the right to access the media section anyway ;)

Have a look at the bug report, I might have filled one at that time.

X+

http://www.sydesy.com

Gabriel Ambuehl

Thursday 04 August 2005 11:33:33 am

Slightly off topic, but do you happen to know what happens with enhancedobjectrelation in this case, Xavier?

Visit http://triligon.org

Xavier Dutoit

Thursday 04 August 2005 11:57:37 pm

Good question.

Don't know... have to test...or wait until someone report it as a bug ;)

X+

P.S. I've updated the template and the code to get rid of some really annoying error messages (mostly when no object where selected in checkbox list mode) on pubsvn.

http://www.sydesy.com

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