[Zope-Checkins] CVS: Zope2 - User.py:1.102

Jim Fulton jim@digicool.com
Tue, 4 Apr 2000 16:23:15 -0400


Update of /cvs-repository/Zope2/lib/python/AccessControl
In directory korak.digicool.com:/tmp/cvs-serv29656

Modified Files:
	User.py 
Log Message:
Added default implementation for new interfaces for getting user IDs
and asking for a user from a user database given an ID.  The default
implementations, in BasicUser and BasicUserFolder assume that user 
names are used as IDs.

Refactored the user classes so that super and nobody aren't persistent
and don't have IDs. There is now a SimpleUser that is the same as
User, sans persistence.  There is a SpecialUser that subclasses
SimpleUser.  The special user nobody is a SpecialUser. The class Super
not subclasses SpecialUser.