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

All Samples(82)  |  Call(82)  |  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/p/r/Products.Archetypes-1.10.1/Products/Archetypes/examples/SimpleType.py   Products.Archetypes(Download)
 
    attr_security = atapi.AttributeValidator()
    security.setDefaultAccess(attr_security)
    # Delete so it cannot be accessed anymore.
    del attr_security

src/p/r/Products.Archetypes-HEAD/Products/Archetypes/examples/SimpleType.py   Products.Archetypes(Download)
 
    attr_security = atapi.AttributeValidator()
    security.setDefaultAccess(attr_security)
    # Delete so it cannot be accessed anymore.
    del attr_security

src/p/r/Products.Archetypes-1.10.1/Products/Archetypes/Schema/__init__.py   Products.Archetypes(Download)
 
    security = ClassSecurityInfo()
    security.setDefaultAccess('allow')
 
    implements(ISchemata)
 
    security = ClassSecurityInfo()
    security.setDefaultAccess('allow')
 
InitializeClass(WrappedSchemata)
class SchemaLayerContainer(DefaultLayerContainer):
    """Some layer management for schemas"""
 
    security = ClassSecurityInfo()
    security.setDefaultAccess('allow')
 
    security = ClassSecurityInfo()
    security.setDefaultAccess('allow')
 
    _properties = {}
 
    security = ClassSecurityInfo()
    security.setDefaultAccess('allow')
 
    def __init__(self, *args, **kwargs):

src/p/r/Products.Archetypes-HEAD/Products/Archetypes/Schema/__init__.py   Products.Archetypes(Download)
 
    security = ClassSecurityInfo()
    security.setDefaultAccess('allow')
 
    implements(ISchemata)
 
    security = ClassSecurityInfo()
    security.setDefaultAccess('allow')
 
InitializeClass(WrappedSchemata)
class SchemaLayerContainer(DefaultLayerContainer):
    """Some layer management for schemas"""
 
    security = ClassSecurityInfo()
    security.setDefaultAccess('allow')
 
    security = ClassSecurityInfo()
    security.setDefaultAccess('allow')
 
    _properties = {}
 
    security = ClassSecurityInfo()
    security.setDefaultAccess('allow')
 
    def __init__(self, *args, **kwargs):

src/p/r/Products.IssueDealer-0.9.131/Products/IssueDealerWeblog/local_weblog_publisher.py   Products.IssueDealer(Download)
 
    security = AccessControl.ClassSecurityInfo()
    security.setDefaultAccess('allow')
 
    security.declareProtected(permissions.publish_issues, 'edit', 'publish',

src/p/r/Products.Archetypes-1.10.1/Products/Archetypes/BaseObject.py   Products.Archetypes(Download)
    if ATTRIBUTE_SECURITY:
        attr_security = AttributeValidator()
        security.setDefaultAccess(attr_security)
        # Delete so it cannot be accessed anymore.
        del attr_security

src/p/r/Products.Archetypes-HEAD/Products/Archetypes/BaseObject.py   Products.Archetypes(Download)
    if ATTRIBUTE_SECURITY:
        attr_security = AttributeValidator()
        security.setDefaultAccess(attr_security)
        # Delete so it cannot be accessed anymore.
        del attr_security

src/p/r/Products.IssueDealer-0.9.131/Products/IssueDealerProcessPublisher/process_publisher.py   Products.IssueDealer(Download)
 
    security = AccessControl.ClassSecurityInfo()
    security.setDefaultAccess('allow')
 
    security.declareProtected(permissions.edit_publishers, 'edit', 'publish', 'deal')

src/p/r/Products.Bitakora-1.1/Products/Bitakora/Bitakora.py   Products.Bitakora(Download)
 
    security = ClassSecurityInfo()
    security.setDefaultAccess('allow')
 
    security.setPermissionDefault('Manage Bitakora', ('Blogger', 'Manager',))

src/p/r/Products.Archetypes-1.10.1/Products/Archetypes/Marshall.py   Products.Archetypes(Download)
    security = ClassSecurityInfo()
    security.declareObjectPrivate()
    security.setDefaultAccess('deny')
 
    def __init__(self, demarshall_hook=None, marshall_hook=None):
class PrimaryFieldMarshaller(Marshaller):
 
    security = ClassSecurityInfo()
    security.declareObjectPrivate()
    security.setDefaultAccess('deny')
class RFC822Marshaller(Marshaller):
 
    security = ClassSecurityInfo()
    security.declareObjectPrivate()
    security.setDefaultAccess('deny')

  1 | 2 | 3 | 4 | 5  Next