Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(67)  |  Call(0)  |  Derive(37)  |  Import(30)
An object that has configurable permissions

src/d/m/dm.zopepatches.zclasses-0.1.1/dm/zopepatches/zclasses/Factory.py   dm.zopepatches.zclasses(Download)
from AccessControl.Permissions import edit_factories
from AccessControl.Permissions import use_factories
from AccessControl.Role import RoleManager
from AccessControl.SecurityInfo import ClassSecurityInfo
from Acquisition import Acquired
class Factory(RoleManager,
              Persistent,
              Implicit,
              Item
             ):

src/p/r/Products.ZSQLMethods-2.13.4/src/Shared/DC/ZRDB/Connection.py   Products.ZSQLMethods(Download)
    from OFS.role import RoleManager
except ImportError:
    from AccessControl.Role import RoleManager
 
 
class Connection(Persistent,
                 RoleManager,
                 Item,
                 Implicit,
                ):

src/p/r/Products.ZSQLMethods-2.13.4/src/Shared/DC/ZRDB/Aqueduct.py   Products.ZSQLMethods(Download)
    from OFS.role import RoleManager
except ImportError:
    from AccessControl.Role import RoleManager
 
 
class BaseQuery(Persistent, Item, Implicit, RoleManager):
 
    def query_year(self):
        return self.query_date.year()
 

src/p/r/Products.FileSystemSite-2.4/Products/FileSystemSite/FSObject.py   Products.FileSystemSite(Download)
from App.special_dtml import HTML
from AccessControl import ClassSecurityInfo
from AccessControl.Role import RoleManager
from AccessControl.Permission import Permission
from Acquisition import Implicit
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
    DTMLMethod, but are not directly modifiable from the management

src/p/r/Products.FileSystemSite-2.4/Products/FileSystemSite/FSDTMLMethod.py   Products.FileSystemSite(Download)
from AccessControl import ClassSecurityInfo, getSecurityManager
from AccessControl.DTML import RestrictedDTML
from AccessControl.Role import RoleManager
from OFS.Cache import Cacheable
from OFS.DTMLMethod import DTMLMethod, decapitate, guess_content_type
class FSDTMLMethod(RestrictedDTML, RoleManager, FSObject, HTML):
    """FSDTMLMethods act like DTML methods but are not directly
    modifiable from the management interface."""
 
    meta_type = 'Filesystem DTML Method'

src/p/r/Products.CMFCore-2.2.8/Products/CMFCore/FSObject.py   Products.CMFCore(Download)
except ImportError:
    # BBB for Zope < 2.13
    from AccessControl.Role import RoleManager
from AccessControl.SecurityInfo import ClassSecurityInfo
from Acquisition import aq_base
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

src/d/m/dm.zopepatches.zclasses-0.1.1/dm/zopepatches/zclasses/__init__.py   dm.zopepatches.zclasses(Download)
 
# reinstate 'AccessControl.Role.RoleManager'
from AccessControl.Role import RoleManager
RoleManager.manage_options = ( # we might come too late.
          {'label':'Security', 'action':'manage_access',

src/p/r/Products.CMFFormController-3.0.3/Products/CMFFormController/Actions/BaseFormAction.py   Products.CMFFormController(Download)
except ImportError:
    # Zope <=2.12
    from AccessControl.Role import RoleManager
 
 
class BaseFormAction(RoleManager):

src/p/r/Products.ZopeVersionControl-1.1.3/Products/ZopeVersionControl/ZopeVersionHistory.py   Products.ZopeVersionControl(Download)
    from OFS.role import RoleManager
except ImportError:
    from AccessControl.Role import RoleManager
 
 
class ZopeVersionHistory(

src/p/r/Products.ZopeVersionControl-1.1.3/Products/ZopeVersionControl/ZopeVersion.py   Products.ZopeVersionControl(Download)
    from OFS.role import RoleManager
except ImportError:
    from AccessControl.Role import RoleManager
 
 
class ZopeVersion(Version.Version, RoleManager, OFS.SimpleItem.Item):

  1 | 2 | 3 | 4 | 5 | 6  Next