[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/security - __init__.py:1.6

Fred L. Drake, Jr. fred@zope.com
Mon, 14 Apr 2003 14:22:06 -0400


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

Modified Files:
	__init__.py 
Log Message:
Rename IValueSet to IEnumerated, and ValueSet to Enumerated.
Treat these more like mixins than like directly useful things.


=== Zope3/src/zope/app/interfaces/security/__init__.py 1.5 => 1.6 ===
--- Zope3/src/zope/app/interfaces/security/__init__.py:1.5	Fri Feb  7 13:18:56 2003
+++ Zope3/src/zope/app/interfaces/security/__init__.py	Mon Apr 14 14:21:36 2003
@@ -2,7 +2,7 @@
 # This file is necessary to make this directory a package.
 
 from zope.interface import Interface
-from zope.schema.interfaces import IValueSet
+from zope.schema.interfaces import IEnumerated, IField
 
 class IPrincipal(Interface):
     """Provide information about principals.
@@ -244,7 +244,7 @@
         service.
         """
 
-class IPermissionField(IValueSet):
+class IPermissionField(IEnumerated, IField):
     u"""Fields with Permissions as values
     """