Author: reebalazs
Date: Sat Nov 10 19:01:28 2007
New Revision: 48523
Modified:
kukit/kss.demo/branch/kss-zope-transition/kss/demo/browser/configure.zcml
Log:
strange issue of complaining for lack of zope.View
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
Sat Nov 10 19:01:28 2007
@@ -4,6 +4,20 @@
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
-->
@@ -43,14 +57,14 @@
for="kss.demo.interfaces.ISimpleContent"
template="header_macros.pt"
name="header_macros"
- permission="zope.View"
+ permission="zope.Public"
/>
<page
for="kss.demo.interfaces.ISimpleContent"
template="body_macros.pt"
name="body_macros"
- permission="zope.View"
+ permission="zope.Public"
/>
<resource
@@ -64,7 +78,7 @@
name="kss_demo_registry"
class=".registry.KSSDemoRegistryView"
allowed_attributes="getSortedDemos getDemoGroups"
- permission="zope.View"
+ permission="zope.Public"
/>
<!-- Define a new permission that only Manager has-->
_______________________________________________
Kukit-checkins mailing list
[email protected]
http://codespeak.net/mailman/listinfo/kukit-checkins