diff roundup/cgi/client.py @ 4083:bbab97f8ffb2

XMLRPC improvements: * Add support for actions to XMLRPC interface. * Provide bridge so user actions may be executed either via CGI or XMLRPC. * Adjust XMLRPC tests to recent work. * Cleanup.
author Stefan Seefeld <stefan@seefeld.name>
date Fri, 27 Feb 2009 17:46:47 +0000
parents edf526c91412
children 34434785f308
line wrap: on
line diff
--- a/roundup/cgi/client.py	Fri Feb 27 16:15:33 2009 +0000
+++ b/roundup/cgi/client.py	Fri Feb 27 17:46:47 2009 +0000
@@ -382,7 +382,9 @@
         self.determine_user()
 
         # Call the appropriate XML-RPC method.
-        handler = xmlrpc.RoundupDispatcher(self.db, self.userid, self.translator,
+        handler = xmlrpc.RoundupDispatcher(self.db,
+                                           self.instance.actions,
+                                           self.translator,
                                            allow_none=True)
         output = handler.dispatch(input)
         self.db.commit()

Roundup Issue Tracker: http://roundup-tracker.org/