[Zope-dev] [ZPatterns] DataSkin and Zope Security

Phillip J. Eby pje@telecommunity.com
Wed, 03 Jan 2001 11:38:05 -0500


At 11:43 AM 1/3/01 +0000, Chris Withers wrote:
>"Phillip J. Eby" wrote:
>> 
>> DataSkins stored in Racks do not participate in the Zope ownership
>> mechanism, nor the creation of the 'Owner' role.  This is because they are
>> not being stored via the normal ObjectManager protocols.
>
>Hurm... to what extent do they participate in Zope's Security
>Mechanisms?
>

They participate fully, as long as you are not trying to use the DataSkin
class itself without mixing it with a Zope base class that supports
security.  Note that even though ownership and the Owner role are not set
up by default for rack-mounted DataSkins, you can still set them up
manually or programmatically, if you are so inclined.  The only reason
they're not set up is because it's ordinarily the job of an ObjectManager
to set them up on items added to the ObjectManager, and a Rack does not
relate to its DataSkins as an ObjectManager.