Author: reebalazs
Date: Sun Nov 11 08:59:44 2007
New Revision: 48537

Modified:
   kukit/kss.demo/branch/kss-zope-transition/kss/demo/browser/configure.zcml
Log:
Revert the previous change that was needed because missing bit from kss.core

Modified: 
kukit/kss.demo/branch/kss-zope-transition/kss/demo/browser/configure.zcml
==============================================================================
--- kukit/kss.demo/branch/kss-zope-transition/kss/demo/browser/configure.zcml   
(original)
+++ kukit/kss.demo/branch/kss-zope-transition/kss/demo/browser/configure.zcml   
Sun Nov 11 08:59:44 2007
@@ -4,20 +4,6 @@
                   i18n_domain="kss"
                   >
 
-  <!-- I have no idea where how, but I get 
-
-       ConfigurationExecutionError: 
zope.component.interfaces.ComponentLookupError: 
-       (<InterfaceClass zope.security.interfaces.IPermission>, 'zope.View')
-
-        So I replace now all zope.View with zope.Public in this file.
-        But the weird
-        thing is that the main configure.zcml of kss.demo also
-        contains this include, and that it does not complain
-        for zope.View in that file. Also in this file I have
-        some that are good... Hmmm...
-  -->
-
-
   <!--
       Define resources for the demo central
   -->
@@ -57,14 +43,14 @@
     for="kss.demo.interfaces.ISimpleContent"
     template="header_macros.pt"
     name="header_macros"
-    permission="zope.Public"
+    permission="zope.View"
     />
 
   <page
     for="kss.demo.interfaces.ISimpleContent"
     template="body_macros.pt"
     name="body_macros"
-    permission="zope.Public"
+    permission="zope.View"
     />
 
   <resource
@@ -78,7 +64,7 @@
     name="kss_demo_registry"
     class=".registry.KSSDemoRegistryView"
     allowed_attributes="getSortedDemos getDemoGroups"
-    permission="zope.Public"
+    permission="zope.View"
     />
 
   <!-- Define a new permission that only Manager has-->
_______________________________________________
Kukit-checkins mailing list
[email protected]
http://codespeak.net/mailman/listinfo/kukit-checkins

Reply via email to