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

All Samples(406)  |  Call(406)  |  Derive(0)  |  Import(0)
Declare the object to be associated with a permission.

src/e/r/erp5-HEAD/product/ERP5Type/Core/Folder.py   erp5(Download)
  # Declarative security
  security = ClassSecurityInfo()
  security.declareObjectProtected(Permissions.AccessContentsInformation)
 
  security.declarePublic('isTempObject')
  # Declarative security
  security = ClassSecurityInfo()
  security.declareObjectProtected(Permissions.AccessContentsInformation)
 
  manage_options = ( CMFBTreeFolder.manage_options +

src/e/r/erp5-HEAD/product/ERP5ShortMessage/Document/EssendexGateway.py   erp5(Download)
    # Declarative security
    security = ClassSecurityInfo()
    security.declareObjectProtected(Permissions.AccessContentsInformation)
 
    # Declarative properties

src/e/r/erp5-HEAD/product/ERP5ShortMessage/Document/MobytGateway.py   erp5(Download)
    # Declarative security
    security = ClassSecurityInfo()
    security.declareObjectProtected(Permissions.AccessContentsInformation)
 
    # Declarative properi ties

src/e/r/erp5-HEAD/product/ERP5ShortMessage/Document/DummyGateway.py   erp5(Download)
    # Declarative security
    security = ClassSecurityInfo()
    security.declareObjectProtected(Permissions.AccessContentsInformation)
 
    # Declarative properi ties

src/e/r/erp5-HEAD/product/ERP5Type/ERP5Type.py   erp5(Download)
class LocalRoleAssignorMixIn(object):
    """Mixin class used by type informations to compute and update local roles
    """
    security = ClassSecurityInfo()
    security.declareObjectProtected(Permissions.AccessContentsInformation)
 
    security = ClassSecurityInfo()
    security.declareObjectProtected(Permissions.AccessContentsInformation)
 
    zope.interface.implements(interfaces.IActionContainer)

src/e/r/erp5-HEAD/product/ERP5/Document/Capacity.py   erp5(Download)
    # Declarative security
    security = ClassSecurityInfo()
    security.declareObjectProtected(Permissions.AccessContentsInformation)
 
    security.declareProtected(Permissions.AccessContentsInformation, 'asCapacityItemList')

src/e/r/erp5-HEAD/product/ERP5/Document/EmailDocument.py   erp5(Download)
  # Declarative security
  security = ClassSecurityInfo()
  security.declareObjectProtected(Permissions.AccessContentsInformation)
 
  security.declareProtected(Permissions.AccessContentsInformation, 'hasFile')
  # Declarative security
  security = ClassSecurityInfo()
  security.declareObjectProtected(Permissions.AccessContentsInformation)
 
  # Declarative properties

src/e/r/erp5-HEAD/product/Formulator/Field.py   erp5(Download)
    security = ClassSecurityInfo()
 
    security.declareObjectProtected('View')
 
    # the various tabs of a field

src/e/r/erp5-HEAD/product/ERP5SyncML/Document/SyncMLSubscription.py   erp5(Download)
 
  security = ClassSecurityInfo()
  security.declareObjectProtected(Permissions.AccessContentsInformation)
 
  # Declarative properties

src/e/r/erp5-HEAD/product/ERP5/Document/Coordinate.py   erp5(Download)
    # Declarative security (replaces __ac_permissions__)
    security = ClassSecurityInfo()
    security.declareObjectProtected(Permissions.AccessContentsInformation)
 
    # Declarative properties

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next