add securitypolicy config file to be placed in instance/etc
git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@3892 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
parent
3d7c87b7b9
commit
39d147a97f
1 changed files with 31 additions and 0 deletions
31
securitypolicy.zcml
Normal file
31
securitypolicy.zcml
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
<!-- copy this file to the etc subdirectory of your Zope instance -->
|
||||||
|
|
||||||
|
<!-- security policy settings -->
|
||||||
|
|
||||||
|
<configure
|
||||||
|
xmlns="http://namespaces.zope.org/zope"
|
||||||
|
i18n_domain="zope">
|
||||||
|
|
||||||
|
<include package="zope.app.securitypolicy" />
|
||||||
|
|
||||||
|
<securityPolicy
|
||||||
|
component="zope.app.securitypolicy.zopepolicy.ZopeSecurityPolicy" />
|
||||||
|
|
||||||
|
<role id="zope.Anonymous" title="Everybody"
|
||||||
|
description="All users have this role implicitly" />
|
||||||
|
<role id="zope.Manager" title="Site Manager" />
|
||||||
|
<role id="zope.Member" title="Site Member" />
|
||||||
|
<role id="zope.ContentManager" title="Content Manager" />
|
||||||
|
|
||||||
|
<grant role="zope.Anonymous" permission="zope.app.dublincore.view" />
|
||||||
|
<grant role="zope.Member" permission="zope.View" />
|
||||||
|
|
||||||
|
<grant role="zope.ContentManager" permission="zope.ManageContent" />
|
||||||
|
<grant role="zope.ContentManager" permission="zope.View" />
|
||||||
|
|
||||||
|
<!-- loops-specific grant added in 2010-06 -->
|
||||||
|
<grant role="zope.ContentManager" permission="loops.AssignAsParent" />
|
||||||
|
|
||||||
|
<grantAll role="zope.Manager" />
|
||||||
|
|
||||||
|
</configure>
|
Loading…
Add table
Reference in a new issue