[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/services/pluggableauth - __init__.py:1.12

Stephan Richter srichter at cosmos.phy.tufts.edu
Mon Mar 8 07:06:29 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/interfaces/services/pluggableauth
In directory cvs.zope.org:/tmp/cvs-serv13053/src/zope/app/interfaces/services/pluggableauth

Modified Files:
	__init__.py 
Log Message:


Adjusted code to use the new APIs for permissions and principals. Also, use
the utility service instead of the permission registry to look up permissions.




=== Zope3/src/zope/app/interfaces/services/pluggableauth/__init__.py 1.11 => 1.12 ===
--- Zope3/src/zope/app/interfaces/services/pluggableauth/__init__.py:1.11	Wed Mar  3 05:38:46 2004
+++ Zope3/src/zope/app/interfaces/services/pluggableauth/__init__.py	Mon Mar  8 07:05:57 2004
@@ -19,29 +19,12 @@
 from zope.app.container.interfaces import IContainer, IContained
 from zope.app.container.constraints import ItemTypePrecondition
 from zope.app.container.constraints import ContainerTypesConstraint
-from zope.app.interfaces.security import IAuthenticationService, IPrincipal
+from zope.app.security.interfaces import IAuthenticationService, IPrincipal
 from zope.interface import Interface
 from zope.schema import Text, TextLine, Password, Field
 
 class IUserSchemafied(IPrincipal):
     """A User object with schema-defined attributes."""
-
-    id = TextLine(
-        title=_("Id"),
-        description=_("The unique identification of the user"),
-        required=True,
-        readonly=True)
-
-    title = TextLine(
-        title=_("Title"),
-        description=_("The title of the user. "
-                      "This is usually used in the UI."),
-        required=False)
-
-    description = Text(
-        title=_("Description"),
-        description=_("A detailed description of the user."),
-        required=False)
 
     login = TextLine(
         title=_("Login"),




More information about the Zope3-Checkins mailing list