permission problem with xmlrpc server

Dan Tenenbaum <[email protected]>
Newsgroups gmane.comp.bug-tracking.roundup.user
Message-ID <[email protected]>
Hi,

I have roundup running via WSGI behind an apache server, served over https/ssl.

I'm trying to use the xmlrpc server following the examples here:

http://roundup.sourceforge.net/docs/xmlrpc.html

So in an interactive python session, I do this:

>>> import xmlrpclib
>>> roundup_server = xmlrpclib.ServerProxy("https://USERNAME:[email protected]/xmlrpc")

Of course USERNAME and PASSWORD and hostname.tld have different values in my real command line.
In fact USERNAME and PASSWORD correspond to a user with the Admin role. When I log in to the web interface as this user I can do pretty uch anything.

When I try and view an issue through the xmlrpc interface, I get an error:

>>> roundup_server.display("issue558")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/biocadmin/python/lib/python2.7/xmlrpclib.py", line 1224, in __call__
    return self.__send(self.__name, args)
  File "/home/biocadmin/python/lib/python2.7/xmlrpclib.py", line 1575, in __request
    verbose=self.__verbose
  File "/home/biocadmin/python/lib/python2.7/xmlrpclib.py", line 1264, in request
    return self.single_request(host, handler, request_body, verbose)
  File "/home/biocadmin/python/lib/python2.7/xmlrpclib.py", line 1297, in single_request
    return self.parse_response(response)
  File "/home/biocadmin/python/lib/python2.7/xmlrpclib.py", line 1473, in parse_response
    return u.close()
  File "/home/biocadmin/python/lib/python2.7/xmlrpclib.py", line 793, in close
    raise Fault(**self._stack[0])
xmlrpclib.Fault: <Fault 1: "<class 'roundup.exceptions.Unauthorised'>:Permission to view assignedto of issue558 denied">


I would expect that this admin user could display any item. What am I doing wrong?

Thanks in advance.
Dan


------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.