[Zope3-dev] Certification: Supporting"Residual
InformationProtection" in Zope 3
Roger Ineichen
dev at projekt01.ch
Fri Dec 16 07:16:16 EST 2005
Hi Martijn
[...]
> [Christian]
> >> Otherwise this function is likely to become a performance
> killer, as
> >> I'd have to go all over the place to remove stuff.
> >
> > We do this everytime we delete a object. This is done with
> subscribers
> > and dispatching events to sublocations if a
> ObjectRemoveEvent get fired.
>
> Wouldn't this still be a performance killer? I.e. if a user
> gets removed
> in a large site, wouldn't an event need to be sent to all
> objects that
> have security annotations in the tree? And at the end, a large
> transaction, or a lot of transactions, would need to be
> committed. From
> my experience with Zope 2, this sounds like a potentially
> very expensive
> operation, right?
Yes you are right. Do you have another idea?
How about to add a concept like intid? We could add objects
where contain annotated security info to a utility. This
allows us to get the right objects from this utility and avoid
traversing a structure.
Regards
Roger Ineichen
> Regards,
>
> Martijn
> _______________________________________________
> Zope3-dev mailing list
> Zope3-dev at zope.org
> Unsub:
> http://mail.zope.org/mailman/options/zope3-dev/dev%40projekt01.ch
>
>
More information about the Zope3-dev
mailing list