[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/security - __init__.py:1.7
Jim Fulton
jim@zope.com
Mon, 2 Jun 2003 12:56:18 -0400
Update of /cvs-repository/Zope3/src/zope/app/interfaces/security
In directory cvs.zope.org:/tmp/cvs-serv3969/src/zope/app/interfaces/security
Modified Files:
__init__.py
Log Message:
Removed getRolese from IPrincipal and from carious other code.
Principals don't have integral roles. In Zope 3, all grants,
including role grants are local. In the future, we'll probably
provide a way for local grants to be found from an auth service to
allow some principal grants to be stored centrally.
=== Zope3/src/zope/app/interfaces/security/__init__.py 1.6 => 1.7 ===
--- Zope3/src/zope/app/interfaces/security/__init__.py:1.6 Mon Apr 14 14:21:36 2003
+++ Zope3/src/zope/app/interfaces/security/__init__.py Mon Jun 2 12:55:47 2003
@@ -30,10 +30,6 @@
def getDescription():
"""Return a description of the principal."""
- def getRoles():
- """Return a possibly empty list of ids of roles held by this principal.
- """
-
class IUnauthenticatedPrincipal(IPrincipal):
"""A principal that hasn't been authenticated.