[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS - Folder.py:1.1.2.8

Jim Fulton jim@zope.com
Thu, 3 Jan 2002 13:56:14 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS
In directory cvs.zope.org:/tmp/cvs-serv9407

Modified Files:
      Tag: Zope-3x-branch
	Folder.py 
Log Message:
Added additional interface implementation so that folders can store
role-permission data.


=== Zope3/lib/python/Zope/App/OFS/Folder.py 1.1.2.7 => 1.1.2.8 ===
 from IContainer import IContainer
 import Persistence
+from Zope.App.Security.IAttributeRolePermissionManageable \
+     import IAttributeRolePermissionManageable
 
 
 class IFolder(IContainer):
@@ -17,7 +19,7 @@
 class Folder(Persistence.Persistent):
     """The standard Zope Folder implementation."""
 
-    __implements__ = IFolder
+    __implements__ = IFolder, IAttributeRolePermissionManageable
 
     def __init__(self):
         # XXX - fix this to use a btree when persistence is online.