A replacement class for the standard SimpleItem.Item, which overrides _subobject_permissions()
from the master Zope application object. The overridden version returns null. This override is needed to
avoid problems with applying permissions to items before acquisition is available, that is, before Items are
registered in the ZODB. Rather a bit of a hack, but because MightyCal applies security settings during
the process of being added as a Product, we can't rely on acquisition being available, which the standard
version of _subobject_permissions() does.
Also adds a number of standard mixin classes which all MightyCal classes need, such as
Acquisition.Implicit and Acquisition.Explicit, PropertyManager and Persistent.
Classes |
| |
- Acquisition.Acquirer
-
- SItem(OFS.SimpleItem.Item, Acquisition.Acquirer, Acquisition.ExplicitAcquirer, OFS.PropertyManager.PropertyManager, App.PersistentExtra.Persistent, AccessControl.Role.RoleManager)
- Acquisition.ExplicitAcquirer
-
- SItem(OFS.SimpleItem.Item, Acquisition.Acquirer, Acquisition.ExplicitAcquirer, OFS.PropertyManager.PropertyManager, App.PersistentExtra.Persistent, AccessControl.Role.RoleManager)
- OFS.SimpleItem.Item(ExtensionClass.Base, webdav.Resource.Resource, OFS.CopySupport.CopySource, App.Management.Tabs, OFS.Traversable.Traversable, OFS.ZDOM.Element, AccessControl.Owned.Owned, App.Undo.UndoSupport)
-
- SItem(OFS.SimpleItem.Item, Acquisition.Acquirer, Acquisition.ExplicitAcquirer, OFS.PropertyManager.PropertyManager, App.PersistentExtra.Persistent, AccessControl.Role.RoleManager)
- App.PersistentExtra.Persistent
-
- SItem(OFS.SimpleItem.Item, Acquisition.Acquirer, Acquisition.ExplicitAcquirer, OFS.PropertyManager.PropertyManager, App.PersistentExtra.Persistent, AccessControl.Role.RoleManager)
- OFS.PropertyManager.PropertyManager(ExtensionClass.Base, OFS.ZDOM.ElementWithAttributes)
-
- SItem(OFS.SimpleItem.Item, Acquisition.Acquirer, Acquisition.ExplicitAcquirer, OFS.PropertyManager.PropertyManager, App.PersistentExtra.Persistent, AccessControl.Role.RoleManager)
- AccessControl.Role.RoleManager(ExtensionClass.Base, AccessControl.PermissionMapping.RoleManager)
-
- SItem(OFS.SimpleItem.Item, Acquisition.Acquirer, Acquisition.ExplicitAcquirer, OFS.PropertyManager.PropertyManager, App.PersistentExtra.Persistent, AccessControl.Role.RoleManager)
|
Data |
| |
OBJECT_CATALOG = 'ObjectCatalog'
__file__ = '/home/zope/lib/python/Products/MightyCal/SItem.pyc'
__name__ = 'Products.MightyCal.SItem'
__version__ = '$Revision: 1.4 $'
|