[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/OFS/Services/AuthenticationService - configure.zcml:1.3.6.1

Jim Fulton jim@zope.com
Mon, 21 Oct 2002 09:47:53 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Services/AuthenticationService
In directory cvs.zope.org:/tmp/cvs-serv29256/lib/python/Zope/App/OFS/Services/AuthenticationService

Modified Files:
      Tag: Zope3-Bangalore-TTW-Branch
	configure.zcml 
Log Message:
Earlier today I fixed a bug in configuration conflict
checking. Unfortunately, I forgot to try running Zope after that
change. It turns out that there were a number of configuration errors
that were revealed by the fix and Zope would not start as a result.

This checkin fixes those configuration errors.


=== Zope3/lib/python/Zope/App/OFS/Services/AuthenticationService/configure.zcml 1.3 => 1.3.6.1 ===
--- Zope3/lib/python/Zope/App/OFS/Services/AuthenticationService/configure.zcml:1.3	Sat Jul 13 14:26:25 2002
+++ Zope3/lib/python/Zope/App/OFS/Services/AuthenticationService/configure.zcml	Mon Oct 21 09:47:22 2002
@@ -4,13 +4,25 @@
 <!-- Authentication Service Directives -->
 
 <content class=".AuthenticationService.">
-  <factory id="AuthenticationService" permission="Zope.ManageServices" />
+ 
+    <factory id="AuthenticationService" permission="Zope.ManageServices" />
+
+    <!-- XXX Should you *really* be able to get all this with just the
+         view permission? -->
     <require
         permission="Zope.View"
-        interface=".AuthenticationService.ILocalAuthenticationService." />
+        interface="Zope.App.Security.IAuthenticationService." />
+    <require
+        permission="Zope.View"
+        interface="Zope.App.OFS.Container.IContainer.IHomogenousContainer" />
+    <require
+        permission="Zope.View"
+        attributes="getAllUsers" />
+
     <require
         permission="Zope.ManageServices"
         interface="Zope.App.OFS.Container.IContainer." />
+
 </content>