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

All Samples(23)  |  Call(23)  |  Derive(0)  |  Import(0)
Declare default attribute access policy.

This should be a boolean value, a map of attribute names to
booleans, or a callable (name, value) -> boolean.

src/z/o/Zope2-2.13.22/src/Products/Sessions/SessionDataManager.py   Zope2(Download)
    ok = {'meta_type':1, 'id':1, 'title': 1, 'icon':1,
          'bobobase_modification_time':1, 'title_or_id':1 }
    security.setDefaultAccess(ok)
    security.setPermissionDefault(CHANGE_DATAMGR_PERM, ['Manager'])
    security.setPermissionDefault(MGMT_SCREEN_PERM, ['Manager'])

src/z/o/Zope-HEAD/src/Products/Sessions/SessionDataManager.py   Zope(Download)
 
    ok = {'meta_type': 1, 'id': 1, 'title': 1, 'icon': 1, 'title_or_id': 1}
    security.setDefaultAccess(ok)
    security.setPermissionDefault(CHANGE_DATAMGR_PERM, ['Manager'])
    security.setPermissionDefault(MGMT_SCREEN_PERM, ['Manager'])

src/p/r/Products.GenericSetup-1.7.4/Products/GenericSetup/registry.py   Products.GenericSetup(Download)
class _ToolsetParser(_HandlerBase):
 
    security = ClassSecurityInfo()
    security.declareObjectPrivate()
    security.setDefaultAccess('deny')
class _ImportStepRegistryParser(_HandlerBase):
 
    security = ClassSecurityInfo()
    security.declareObjectPrivate()
    security.setDefaultAccess('deny')
class _ExportStepRegistryParser(_HandlerBase):
 
    security = ClassSecurityInfo()
    security.declareObjectPrivate()
    security.setDefaultAccess('deny')
 
    security = ClassSecurityInfo()
    security.setDefaultAccess('allow')
 
    def __init__(self):
 
    security = ClassSecurityInfo()
    security.setDefaultAccess('allow')
 
    def __init__(self):

src/z/o/Zope2-2.13.22/src/Products/Sessions/BrowserIdManager.py   Zope2(Download)
    ok = {'meta_type':1, 'id':1, 'title': 1, 'icon':1,
          'bobobase_modification_time':1, 'title_or_id':1 }
    security.setDefaultAccess(ok)
    security.setPermissionDefault(MGMT_SCREEN_PERM, ['Manager'])
    security.setPermissionDefault(ACCESS_CONTENTS_PERM,['Manager','Anonymous'])

src/z/o/Zope2-2.13.22/src/Products/Transience/Transience.py   Zope2(Download)
    _inband_housekeeping = True
 
    security.setDefaultAccess('deny')
 
    # intitialize locks used for finalization, replentishing, and

src/z/o/Zope-HEAD/src/Products/Sessions/BrowserIdManager.py   Zope(Download)
    security.declareObjectPublic()
    ok = {'meta_type': 1, 'id': 1, 'title': 1, 'icon': 1, 'title_or_id': 1}
    security.setDefaultAccess(ok)
    security.setPermissionDefault(MGMT_SCREEN_PERM, ['Manager'])
    security.setPermissionDefault(ACCESS_CONTENTS_PERM,['Manager','Anonymous'])

src/z/o/Zope-HEAD/src/Products/Transience/Transience.py   Zope(Download)
    _inband_housekeeping = True
 
    security.setDefaultAccess('deny')
 
    # intitialize locks used for finalization, replentishing, and

src/z/o/Zope2-2.13.22/src/Products/Transience/TransientObject.py   Zope2(Download)
 
    security = ClassSecurityInfo()
    security.setDefaultAccess('allow')
    security.declareObjectPublic()
    _last_modified = None

src/p/r/Products.GenericSetup-1.7.4/Products/GenericSetup/utils.py   Products.GenericSetup(Download)
    """
    security = ClassSecurityInfo()
    security.setDefaultAccess('allow')
 
    def __init__(self, site, encoding='utf-8'):
    """
    security = ClassSecurityInfo()
    security.setDefaultAccess('allow')
 
    def __init__(self, site, encoding='utf-8'):

src/p/r/Products.mcdutils-0.2b3/src/Products/mcdutils/mapping.py   Products.mcdutils(Download)
        self._p_joined = False
 
    security.setDefaultAccess('allow')
    security.declareObjectPublic()
 

  1 | 2  Next