[Zope-dev] Re: [Geeks] Interface Meta Data proposal

Jim Fulton jim@digicool.com
Thu, 30 Nov 2000 09:07:37 -0500


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

--
Jim Fulton           mailto:jim@digicool.com   Python Powered!        
Technical Director   (888) 344-4332            http://www.python.org  
Digital Creations    http://www.digicool.com   http://www.zope.org