[Zope3-checkins] SVN: Zope3/trunk/ Fixed issue 663, adding basic auth and session-credential

Jim Fulton jim at zope.com
Wed Jul 19 18:05:21 EDT 2006


Log message for revision 69216:
  Fixed issue 663, adding basic auth and session-credential
  plugins didn't work.
  
  Renamed the plugins view to contents,html.  We shouldn't need to do
  that but fixing the conetnts view as necessary would be too much work atm.
  

Changed:
  U   Zope3/trunk/doc/CHANGES.txt
  U   Zope3/trunk/src/zope/app/authentication/browser/adding.py
  U   Zope3/trunk/src/zope/app/authentication/browser/configure.zcml
  U   Zope3/trunk/src/zope/app/authentication/browser/ftests.py
  A   Zope3/trunk/src/zope/app/authentication/browser/issue663.txt

-=-
Modified: Zope3/trunk/doc/CHANGES.txt
===================================================================
--- Zope3/trunk/doc/CHANGES.txt	2006-07-19 22:00:21 UTC (rev 69215)
+++ Zope3/trunk/doc/CHANGES.txt	2006-07-19 22:05:20 UTC (rev 69216)
@@ -16,6 +16,9 @@
 
     Bug fixes
 
+      - Fixed issue 663, adding basic auth and session-credential
+        plugins didn't work.
+
       - Fixed issue 650, a test failure on Mac OS X that seemed to
         indicate deeper problems in ZEO's thread handling.  Refactored
         ZEO so that ZEO clients have their own asyncore loop and don't

Modified: Zope3/trunk/src/zope/app/authentication/browser/adding.py
===================================================================
--- Zope3/trunk/src/zope/app/authentication/browser/adding.py	2006-07-19 22:00:21 UTC (rev 69215)
+++ Zope3/trunk/src/zope/app/authentication/browser/adding.py	2006-07-19 22:05:20 UTC (rev 69216)
@@ -23,4 +23,5 @@
 class Adding(zope.app.container.browser.adding.Adding):
     
     def nextURL(self):
-        return zapi.absoluteURL(self.context, self.request) + '/@@plugins.html'
+        return zapi.absoluteURL(self.context, self.request
+                                ) + '/@@contents.html'

Modified: Zope3/trunk/src/zope/app/authentication/browser/configure.zcml
===================================================================
--- Zope3/trunk/src/zope/app/authentication/browser/configure.zcml	2006-07-19 22:00:21 UTC (rev 69215)
+++ Zope3/trunk/src/zope/app/authentication/browser/configure.zcml	2006-07-19 22:05:20 UTC (rev 69216)
@@ -45,7 +45,7 @@
       permission="zope.ManageServices" />
 
   <page
-      name="plugins.html"
+      name="contents.html"
       for="..interfaces.IPluggableAuthentication"
       menu="zmi_views" title="Plugins"
       permission="zope.ManageSite"

Modified: Zope3/trunk/src/zope/app/authentication/browser/ftests.py
===================================================================
--- Zope3/trunk/src/zope/app/authentication/browser/ftests.py	2006-07-19 22:00:21 UTC (rev 69215)
+++ Zope3/trunk/src/zope/app/authentication/browser/ftests.py	2006-07-19 22:05:20 UTC (rev 69216)
@@ -118,6 +118,7 @@
             'group_searching_with_empty_string.txt'),
         functional.FunctionalDocFileSuite('special-groups.txt'),
         unittest.makeSuite(FunkTest),
+        functional.FunctionalDocFileSuite('issue663.txt'),
         ))
 
 if __name__ == '__main__':

Copied: Zope3/trunk/src/zope/app/authentication/browser/issue663.txt (from rev 69215, Zope3/branches/3.3/src/zope/app/authentication/browser/issue663.txt)


Property changes on: Zope3/trunk/src/zope/app/authentication/browser/issue663.txt
___________________________________________________________________
Name: svn:eol-style
   + native



More information about the Zope3-Checkins mailing list