[Zope-dev] title_or_id permissions on Files

Brian R Brinegar brinegar@ecn.purdue.edu
Fri, 10 Jan 2003 16:28:02 -0500 (EST)


On Fri, 10 Jan 2003, Dieter Maurer wrote:

> Brian R Brinegar wrote at 2003-1-8 15:27 -0500:
>  > ...
>  > Everything works. I believe that the restricting permission for the
>  > title_or_id method should be "Access Contents Information" not "View".
>  > However I am not sure where the title_or_id method of File is defined.
> You can use my "DocFinder" product to find this out.
> -->  <http://www.dieter.handshake.de/pyprojects/zope>
>
> It may not have an explicite protection at all and be protected
> implicitly by the "Object Protection".
>
> The "Object Protection" is usually "Access Contents Information",
> but sometimes "View" or something different.
>

Very possible. In any case, is this the correct behavior? Show a method be
protected if it isn't protecting any data?

-Brian