Hello, Some weeks ago we send a question to Stack Overflow but no response has been received (http://stackoverflow.com/questions/31340155/give-role-to-user-for-application-registred-in-fiware). The problem is that we have an application registered by an user in FIWARE Lab and we want to allow other users to use the application. For this purpose we want to assign them their appropriate roles via Keyrock API. We have tried to use the following method: PUT /OS-ROLES/users/$user_id/applications/$application_id/roles/$role_id (http://docs.keyrock.apiary.io/#reference/keystone-extensions/role-user-relationship/assign-a-role-to-a-user) However, we obtain the following error message: Result, {"error": {"message": "You are not authorized to perform the requested action: identity:add_role_to_user_default_org", "code": 403, "title": "Forbidden"}} Can anyone help us? Thanks in advance for your help. Regards, Jesús -- ----------------------------------------------------------- Jesús Barrera Francés Dirección de Proyectos / Project Manager GeoSLab Logo C/ Carlos Marx, 6 CP 50015 Zaragoza (Spain) Tlf: +34 976 762666 Fax: +34 976 106201 jesusb at geoslab.com <mailto:jesusb at geoslab.com> http://www.GeoSLab.com Follow us on Twitter <http://twitter.com/GeoSLab> ------------------------------------------------------------------------ / Antes de imprimir este correo piensa si realmente es necesario hacerlo / Before printing this email, assess if it is really needed / / ---- ADVERTENCIA ---- La información contenida en este correo electrónico, y en su caso, cualquier fichero anexo al mismo, son de carácter privado y confidencial siendo para uso exclusivo de su destinatario. Si usted no es el destinatario correcto, el empleado o agente responsable de entregar el mensaje al destinatario, o ha recibido esta comunicación por error, le informamos que está totalmente prohibida cualquier divulgación, distribución o reproducción de esta comunicación según la legislación vigente y le rogamos que nos lo notifique inmediatamente, procediendo a su destrucción sin continuar su lectura./ / ---- WARNING ---- Information contained in this email, and any attached files, are private and confidential for the addressee. If you are not the intended recipient, employee or agent responsible for delivering this message to the addressee, or have received this communication by mistake, please be aware that any dissemination, distribution or duplication under current laws is forbidden and we request you to notify us immediately and destroy the message without continue reading. / ------------------------------------------------------------------------ -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.fiware.org/private/fiware-finodex-coaching/attachments/20150907/6331596d/attachment.html>
You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy Cookies policy