[Zope-dev] [ZPatterns] DataSkin object ownership
Phillip J. Eby
pje@telecommunity.com
Tue, 12 Dec 2000 21:58:42 -0500
At 08:04 PM 12/12/00 -0500, BS wrote:
>Do DataSkins have ownership? I want to give multiple users the ability to
>add objects to a rack and only allow the 'owner' to view/edit the object.
>When a user adds a DataSkin to a rack does he get ownership of the object?
>I can't seem to get the ownership information for these objects. Is there a
>way to do this?
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. If you want this
behavior, you'll need to use Folders w/Customizer support, which let you
use most of DataSkins' dynamic features with "almost ordinary" Zope objects.
>BTW - I'm talking about virtual object that totally live in MySQL.
Folders w/Customizer Support require the DataSkins' primary storage to be
in the ZODB.