Re: [Geeks] Interface Meta Data proposal
Is security really a part of an object's interface? I thought this was more of an implementation thing. ----- Original Message ----- From: "Michel Pelletier" <michel@digicool.com> To: "Geeks Mailing List" <geeks@digicool.com> Cc: <zope-dev@zope.org> Sent: Tuesday, November 28, 2000 4:05 PM Subject: [Geeks] Interface Meta Data proposal
I've added a sub-proposal to the Interface proposal for describing additional meta-data with Interface objects:
http://www.zope.org/Wikis/Interfaces/ExtesableMetaData
Please comment about this interesting possibility.
-Michel
Chris McDonough wrote:
Is security really a part of an object's interface?
Maybe. Are examples? Also maybe. It's documentation, so specific systems that use interfaces may want to be able to extend the kinds of information they can associate with interface elements.
I thought this was more of an implementation thing.
These are good questions, I think these also have a great effect on the Zope 3 story. BTW, the whole idea of extensible meta-data on an interface element came from reading the Zope 3 story so far, and seeing the examples that include security assertions in an interface. Amos and I discussed it a bit and that's where the proposal came from. -Michel
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
participants (3)
-
Chris McDonough -
Jim Fulton -
Michel Pelletier