[Zope3-checkins] CVS: Zope3/src/zope/app/security/registries - principalregistry.py:1.8
Jim Fulton
jim@zope.com
Mon, 2 Jun 2003 12:56:19 -0400
Update of /cvs-repository/Zope3/src/zope/app/security/registries
In directory cvs.zope.org:/tmp/cvs-serv3969/src/zope/app/security/registries
Modified Files:
principalregistry.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/security/registries/principalregistry.py 1.7 => 1.8 ===
--- Zope3/src/zope/app/security/registries/principalregistry.py:1.7 Tue Mar 11 11:11:17 2003
+++ Zope3/src/zope/app/security/registries/principalregistry.py Mon Jun 2 12:55:48 2003
@@ -133,9 +133,6 @@
def getDescription(self):
return self.__description
- def getRoles(self):
- return ()
-
class Principal(PrincipalBase):