Re: Question on access levels for blocks

mikespub <[email protected]> Tue, 06 Apr 2010 17:55:49 +0200
Newsgroups gmane.comp.cms.xaraya.devel
Organization Xaraya
Message-ID <[email protected]>
On 6/04/2010 13:11, [email protected] wrote:
> Looks good.
> Small question Assuming item access is only controlled in the latter
> part of the page, perhaps it would make sense from a usability pov to
> signal clearly that choosing no conditions gives access to all items.
>
> Is item access completely separate from objects access? In other words
> can I see all items even if I can't display the object? Guess so.
> Although I wonder if that makes sense in real situations.
>

Not quite - the access rules (or default privileges) are checked first
on the object level, and only then will the content filters (if any) be 
applied when retrieving the items.

I guess I need to make this clearer on the access page then ;-)

 > Wonder how much of this scheme we can package and put back into the
 > access property. Can be useful in other cases.
 >
 > Marc
 >
About repackaging this into the access property, that was my first
thought too, but the question is how re-usable we want to make this.
E.g. the access levels, fall-back security masks and access checks are
different for blocks & dd objects - and they'll probably be different
for other base classes too.
So unless we only want to use the property for input/output, or until
we get a better understanding of the issues for each base class, I'd
like to keep it separate for now...

Mike.