-----BEGIN PGP SIGNED MESSAGE-----
Martijn Faassen wrote:
> Tim Hoffman wrote:
>> can I specify security annotations on objects persisted in the zodb as
>> per zope3/zope2
>> which are over and above the class/view decleration.
> I'll just note you can do this in Grok. Grok has per-model security
> declarations, just like Zope 3's. It just doesn't have model-level
> security *checks* - the only check happens on the view end.
The stock security policy for BFG uses ACLs stored on model objects, and
is willing to "acquire" them. The ACLs represent grant's or denials of
permissions to principals. The BFG publisher uses the permission
associated with the view to verify access to the view by the current
principals. All in all, this part is very Zope-like.
> I'm not sure whether bfg does use security proxies at all or not (if so,
> apparently not zope.security's).
Space-suits are only useful if you want to protect specific attributes
or methods of model objects. BFG has no concept of untrusted code, and
therefore doesn't use them.
You *could* build a BFG-based application which used them (e.g.,
wrapping the root object in a space-suit at the beginning of publishing
traversal); none of us need or want that.
Tres Seaver +1 540-429-0999 tsea...@palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
Zope-Dev maillist - Zope-Dev@zope.org
** No cross posts or HTML encoding! **
(Related lists -