[Zope-Checkins] CVS: Zope3 - site.zcml:1.1.2.3

Jim Fulton jim@zope.com
Thu, 31 Jan 2002 16:22:53 -0500


Update of /cvs-repository/Zope3
In directory cvs.zope.org:/tmp/cvs-serv19079

Modified Files:
      Tag: Zope-3x-branch
	site.zcml 
Log Message:
Added some security assertions to make it easier to try things out.


=== Zope3/site.zcml 1.1.2.2 => 1.1.2.3 ===
    xmlns='http://namespaces.zope.org/zope'
+   xmlns:security='http://namespaces.zope.org/security'
 >
 
 <include file="zope.zcml" />
 
+<security:role role_id="Manager" title="Site Manager" />
+<security:role role_id="Member" title="Site Member" />
+
 <include file="principals.zcml" />
+
+<security:grantPermissionToRole permission_id="Zope.View" 
+                                role_id="Manager" />
+<security:grantPermissionToRole permission_id="Zope.AddFolders"
+                                role_id="Manager" />
+<security:grantPermissionToRole permission_id="Zope.Security" 
+                                role_id="Manager" />
 
 <include file="products.zcml" />