Commit d13d4640 authored by Hanno Schlichting's avatar Hanno Schlichting

Simplify site.zcml a tiny bit.

parent 6d54e97b
<configure xmlns="http://namespaces.zope.org/zope" <configure
xmlns:five="http://namespaces.zope.org/five"> xmlns="http://namespaces.zope.org/zope"
xmlns:meta="http://namespaces.zope.org/meta"
xmlns:five="http://namespaces.zope.org/five">
<include file="exclude.zcml" /> <include file="exclude.zcml" />
<include file="meta.zcml" /> <include file="meta.zcml" />
...@@ -10,4 +12,10 @@ ...@@ -10,4 +12,10 @@
<include package="ZPublisher" /> <include package="ZPublisher" />
<include package="five.globalrequest"/> <include package="five.globalrequest"/>
<include package="Products.Five" />
<meta:redefinePermission from="zope2.Public" to="zope.Public" />
<securityPolicy
component="AccessControl.security.SecurityPolicy" />
</configure> </configure>
...@@ -4,8 +4,6 @@ ...@@ -4,8 +4,6 @@
xmlns:five="http://namespaces.zope.org/five"> xmlns:five="http://namespaces.zope.org/five">
<include package="Zope2.App" /> <include package="Zope2.App" />
<include package="Products.Five" />
<meta:redefinePermission from="zope2.Public" to="zope.Public" />
<!-- Load the meta --> <!-- Load the meta -->
<include files="package-includes/*-meta.zcml" /> <include files="package-includes/*-meta.zcml" />
...@@ -19,7 +17,4 @@ ...@@ -19,7 +17,4 @@
<includeOverrides files="package-includes/*-overrides.zcml" /> <includeOverrides files="package-includes/*-overrides.zcml" />
<five:loadProductsOverrides /> <five:loadProductsOverrides />
<securityPolicy
component="AccessControl.security.SecurityPolicy" />
</configure> </configure>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment