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

2001-01-03 Thread Phillip J. Eby

At 11:43 AM 1/3/01 +, 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.


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )




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

2001-01-03 Thread Chris Withers

"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?

cheers,

Chris

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )