src/pyams_utils/site.py
changeset 169 5c6a816ffb86
parent 168 819db271bc1f
child 186 c08b45bbed38
equal deleted inserted replaced
168:819db271bc1f 169:5c6a816ffb86
    47     A site root can be used as base application root in your ZODB.
    47     A site root can be used as base application root in your ZODB.
    48     It's also site root responsibility to manage your local site manager.
    48     It's also site root responsibility to manage your local site manager.
    49 
    49 
    50     BaseSiteRoot defines a basic ACL which gives all permissions to system administrator,
    50     BaseSiteRoot defines a basic ACL which gives all permissions to system administrator,
    51     and 'public' permission to everyone. But this ACL is generally overriden in subclasses
    51     and 'public' permission to everyone. But this ACL is generally overriden in subclasses
    52     which also inherit from :ref:`pyams_security.security.ProtectedObject`.
    52     which also inherit from :class:`pyams_security.security.ProtectedObject`.
    53     """
    53     """
    54 
    54 
    55     __acl__ = [(Allow, 'system:admin', ALL_PERMISSIONS),
    55     __acl__ = [(Allow, 'system:admin', ALL_PERMISSIONS),
    56                (Allow, Everyone, {PUBLIC_PERMISSION})]
    56                (Allow, Everyone, {PUBLIC_PERMISSION})]
    57 
    57