[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/services - auth.py:1.4

Marius Gedminas mgedmin@codeworks.lt
Fri, 7 Feb 2003 13:18:57 -0500


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

Modified Files:
	auth.py 
Log Message:
Clarify interface docstrings a bit: role ids should be used instead of role
objects in most places.


=== Zope3/src/zope/app/interfaces/services/auth.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/interfaces/services/auth.py:1.3	Fri Dec 27 15:16:34 2002
+++ Zope3/src/zope/app/interfaces/services/auth.py	Fri Feb  7 13:18:56 2003
@@ -24,7 +24,7 @@
         """Get the login for the user."""
 
     def validate(pw):
-        """Seee whether the password is valid."""
+        """See whether the password is valid."""
 
 
 class IWriteUser(Interface):
@@ -40,7 +40,10 @@
         """Set login of User."""
 
     def setRoles(roles):
-        """Set roles of User."""
+        """Set roles of User.
+
+        Roles should be a sequence of role ids.
+        """
 
     def setPassword(password):
         """Set password of User."""