[Zope3-Users] security on file objects prevents accessing "read" in other methods

Stephan Richter srichter at cosmos.phy.tufts.edu
Thu Jun 1 15:33:49 EDT 2006


On Tuesday 28 March 2006 11:13, Joel Moxley wrote:
> What's the best way to pass around a file object with open permissions?

Either declare the file as a rock or do the following:

<class class="file">
  <allow attributes="read" />
</class>

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training


More information about the Zope3-users mailing list