Chris McDonough wrote:
> Is security really a part of an object's interface? 

IMO yes. I would go even farther and suggest that different
interfaces to an object represent different types of usage
and map very nicely to permissions. That is, there might
be a one-to-one mapping from interface to permission.  In this
model, you don't need to make assertions for components
of an interface (e.g. attributes and methods, which are just special
kinds of attributes), rather you simply say that the whole interface
is associated with a particular permission. 


Jim Fulton           mailto:[EMAIL PROTECTED]   Python Powered!        
Technical Director   (888) 344-4332    
Digital Creations

Zope-Dev maillist  -  [EMAIL PROTECTED]
**  No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to