XMLRPC Roundup API authentication issue

Nicolas CHAUDAN <[email protected]>
Newsgroups gmane.comp.bug-tracking.roundup.user
Message-ID <OF34187B3C.57D36B2C-ONC1257EAC.003C107B-C1257EAC.003F5254@notes.edfgdf.fr>
Hello everyone,

I am trying to create an API using the client API of the XMLRPC acess to 
roundup which you can find here but I have some issues regarding the 
authentication. Indeed, I have permission denied when I try to "lookup" or 
 "display" on the class user while I provided the url with the admin 
authentication.
So I have looked at the python file (xmlrpc.py) which implements these 
methods (eg display, lookup, etc...) and I have found that the method 
getuid (which is defined in roundupdb.py) doesn't get the right value. I 
mean that even if I send the admin authentication in the url he it doesn't 
get it and so it considers that the one who owns the connection to the 
database is Anonymous.
In the definition of the method getuid, there is "journaltag" and I can't 
figure out where it come from and I think this is the key to the 
resolution of my problem.

Does anyone have the same issue ?

I would appreciate your help.

Kind regards,

Nicolas Chaudan




Ce message et toutes les pièces jointes (ci-après le 'Message') sont établis à l'intention exclusive des destinataires et les informations qui y figurent sont strictement confidentielles. Toute utilisation de ce Message non conforme à sa destination, toute diffusion ou toute publication totale ou partielle, est interdite sauf autorisation expresse.

Si vous n'êtes pas le destinataire de ce Message, il vous est interdit de le copier, de le faire suivre, de le divulguer ou d'en utiliser tout ou partie. Si vous avez reçu ce Message par erreur, merci de le supprimer de votre système, ainsi que toutes ses copies, et de n'en garder aucune trace sur quelque support que ce soit. Nous vous remercions également d'en avertir immédiatement l'expéditeur par retour du message.

Il est impossible de garantir que les communications par messagerie électronique arrivent en temps utile, sont sécurisées ou dénuées de toute erreur ou virus.
____________________________________________________

This message and any attachments (the 'Message') are intended solely for the addressees. The information contained in this Message is confidential. Any use of information contained in this Message not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval.

If you are not the addressee, you may not copy, forward, disclose or use any part of it. If you have received this message in error, please delete it and all copies from your system and notify the sender immediately by return message.

E-mail communication cannot be guaranteed to be timely secure, error or virus-free.

------------------------------------------------------------------------------

_______________________________________________
Roundup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/roundup-users
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.