equal
deleted
inserted
replaced
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 |