[CMF-checkins] CVS: Products/CMFCore - FSObject.py:1.20
Jens Vagelpohl
jens at dataflake.org
Sat Dec 4 17:05:48 EST 2004
Update of /cvs-repository/Products/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv30097/CMFCore
Modified Files:
FSObject.py
Log Message:
- FSObject: Now FSObject-derived items like FSImage or FSFile can have
security declarations inside the metadata file.
(http://www.zope.org/Collectors/CMF/289)
=== Products/CMFCore/FSObject.py 1.19 => 1.20 ===
--- Products/CMFCore/FSObject.py:1.19 Sat Dec 4 15:29:07 2004
+++ Products/CMFCore/FSObject.py Sat Dec 4 17:05:18 2004
@@ -19,6 +19,7 @@
import Globals
from AccessControl import ClassSecurityInfo
+from AccessControl.Role import RoleManager
from Acquisition import Implicit
from OFS.Cache import Cacheable
from OFS.SimpleItem import Item
@@ -32,7 +33,7 @@
from utils import getToolByName
-class FSObject(Implicit, Item, Cacheable):
+class FSObject(Implicit, Item, RoleManager, Cacheable):
"""FSObject is a base class for all filesystem based look-alikes.
Subclasses of this class mimic ZODB based objects like Image and
More information about the CMF-checkins
mailing list