[Zope3-checkins] CVS: Zope3/src/zope/app/browser/services/pluggableauth - configure.zcml:1.12

Naveen P pnaveen at zeomega.com
Thu Dec 18 04:57:40 EST 2003


Update of /cvs-repository/Zope3/src/zope/app/browser/services/pluggableauth
In directory cvs.zope.org:/tmp/cvs-serv29648/browser/services/pluggableauth

Modified Files:
	configure.zcml 
Log Message:
Applied the containment constraints on the PluggableAuthorisationService, PrincipalSource, Registration Manager and Adapter Registration.


=== Zope3/src/zope/app/browser/services/pluggableauth/configure.zcml 1.11 => 1.12 ===
--- Zope3/src/zope/app/browser/services/pluggableauth/configure.zcml:1.11	Sun Sep 21 13:30:55 2003
+++ Zope3/src/zope/app/browser/services/pluggableauth/configure.zcml	Thu Dec 18 04:57:08 2003
@@ -1,6 +1,8 @@
 <zope:configure 
-   xmlns:zope="http://namespaces.zope.org/zope"
-   xmlns="http://namespaces.zope.org/browser">
+   xmlns="http://namespaces.zope.org/browser"
+   xmlns:zope='http://namespaces.zope.org/zope'
+   xmlns:browser='http://namespaces.zope.org/browser'
+   >
 
 <!-- Pluggable Authentication Service -->
 
@@ -12,7 +14,6 @@
        description="A Pluggable Authentication Service
 
                     Uses plug-in principal sources." />
-
   <page
        name="contents.html"
        for="zope.app.services.pluggableauth.IPluggableAuthenticationService"
@@ -20,7 +21,7 @@
        class="zope.app.browser.container.contents.Contents"
        attribute="contents" />
 
-  <view
+   <view
        name="+"
        menu="zmi_actions" title="Add Source"
        for="zope.app.services.pluggableauth.IPluggableAuthenticationService"
@@ -32,17 +33,20 @@
 
   </view>
 
-  <menu id="add_principal_source"
+  <menu
+      id="add_principal_source"
       title="Menu for adding new PrincipalSource."/>
 
 <!-- Principal Source -->
 
+ <!--
   <menuItem
       menu="add_principal_source"
       for="zope.app.interfaces.container.IAdding"
       action="zope.app.principalsources.BTreePrincipalSource"
       title="BTree Principal Source"
       description="BTree Principal Source" />
+ -->
 
   <page
        name="contents.html"
@@ -52,12 +56,13 @@
        class="zope.app.browser.container.contents.Contents"
        attribute="contents" />
 
-  <menuItem
-      menu="zmi_actions" title="Add Principal"
-      for="zope.app.services.pluggableauth.IContainerPrincipalSource"
-      action="AddPrincipalForm.html" />
+  <browser:addMenuItem
+      title="Add Principal Source" 
+      class="zope.app.services.pluggableauth.BTreePrincipalSource"	
+      permission="zope.ManageServices"
+      />
 
-  <addform
+  <browser:addform
       for="zope.app.services.pluggableauth.IContainerPrincipalSource"
       schema="zope.app.interfaces.services.pluggableauth.IUserSchemafied"
       label="Add Simple User with details"




More information about the Zope3-Checkins mailing list