[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/authentication/ Added a read-only page that displays the principal folder's prefix, which is otherwise not visible to a user.

Garrett Smith garrett at mojave-corp.com
Wed Feb 9 17:08:56 EST 2005


Log message for revision 29095:
  Added a read-only page that displays the principal folder's prefix, which is otherwise not visible to a user.

Changed:
  U   Zope3/trunk/src/zope/app/authentication/authenticationplugins.zcml
  U   Zope3/trunk/src/zope/app/authentication/browser/configure.zcml

-=-
Modified: Zope3/trunk/src/zope/app/authentication/authenticationplugins.zcml
===================================================================
--- Zope3/trunk/src/zope/app/authentication/authenticationplugins.zcml	2005-02-09 22:08:07 UTC (rev 29094)
+++ Zope3/trunk/src/zope/app/authentication/authenticationplugins.zcml	2005-02-09 22:08:55 UTC (rev 29095)
@@ -17,6 +17,10 @@
     <require
         permission="zope.ManageServices"
         interface="zope.app.container.interfaces.IContainer" />
+    
+    <require
+        permission="zope.ManageServices"
+        attributes="prefix" />
 
   </localUtility>
 

Modified: Zope3/trunk/src/zope/app/authentication/browser/configure.zcml
===================================================================
--- Zope3/trunk/src/zope/app/authentication/browser/configure.zcml	2005-02-09 22:08:07 UTC (rev 29094)
+++ Zope3/trunk/src/zope/app/authentication/browser/configure.zcml	2005-02-09 22:08:55 UTC (rev 29095)
@@ -58,6 +58,14 @@
       index="zope.ManageServices"
       />
 
+  <schemadisplay
+      schema="..principalfolder.IInternalPrincipalContainer"
+      label="Principal Folder Prefix"
+      name="prefix.html"
+      fields="prefix"
+      permission="zope.ManageServices"
+      menu="zmi_views" title="Prefix" />
+
   <editform
       schema="..httpplugins.IHTTPBasicAuthRealm"
       label="Change Realm"



More information about the Zope3-Checkins mailing list