[Checkins] SVN: grokproject/branches/ulif-dynamic_conf_files/grokproject/template_paste/cfg_templates/site.zcml.in_tmpl Copy base for config template.

Uli Fouquet uli at gnufix.de
Wed Feb 4 19:45:12 EST 2009


Log message for revision 96113:
  Copy base for config template.

Changed:
  A   grokproject/branches/ulif-dynamic_conf_files/grokproject/template_paste/cfg_templates/site.zcml.in_tmpl

-=-
Copied: grokproject/branches/ulif-dynamic_conf_files/grokproject/template_paste/cfg_templates/site.zcml.in_tmpl (from rev 96112, grokproject/branches/ulif-dynamic_conf_files/grokproject/template_paste/etc/site.zcml_tmpl)
===================================================================
--- grokproject/branches/ulif-dynamic_conf_files/grokproject/template_paste/cfg_templates/site.zcml.in_tmpl	                        (rev 0)
+++ grokproject/branches/ulif-dynamic_conf_files/grokproject/template_paste/cfg_templates/site.zcml.in_tmpl	2009-02-05 00:45:11 UTC (rev 96113)
@@ -0,0 +1,36 @@
+<configure xmlns="http://namespaces.zope.org/zope"
+           i18n_domain="${package}">
+
+  <include package="${package}" />
+
+    <configure i18n_domain="${package}">
+    
+      <unauthenticatedPrincipal id="zope.anybody"
+                                title="Unauthenticated User" />
+      <unauthenticatedGroup id="zope.Anybody"
+                            title="Unauthenticated Users" />
+      <authenticatedGroup id="zope.Authenticated"
+                        title="Authenticated Users" />
+      <everybodyGroup id="zope.Everybody"
+                      title="All Users" />
+      <principal id="zope.manager"
+                 title="Manager"
+                 login=${user}
+                 password_manager="Plain Text"
+                 password=${passwd}
+                 />
+
+      <!-- Replace the following directive if you do not want
+           public access -->
+      <grant permission="zope.View"
+             principal="zope.Anybody" />
+      <grant permission="zope.app.dublincore.view"
+             principal="zope.Anybody" />
+
+      <role id="zope.Manager" title="Site Manager" />
+      <role id="zope.Member" title="Site Member" />
+      <grantAll role="zope.Manager" />
+      <grant role="zope.Manager"
+             principal="zope.manager" />
+   </configure>
+</configure>
\ No newline at end of file



More information about the Checkins mailing list