Details
-
Type: extRequest
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:None
-
Sender Email:
-
HD-Chapter:Security
-
HD-Enabler:KeyRock
Description
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
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@geoslab.com <jesusb@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. /
------------------------------------------------------------------------
_______________________________________________
Fiware-finodex-coaching mailing list
Fiware-finodex-coaching@lists.fi-ware.org
https://lists.fi-ware.org/listinfo/fiware-finodex-coaching
[Created via e-mail received from: Jesus Barrera <jesusb@geoslab.com>]
Issue Links
- relates to
-
HELC-1001 FIWARE.Request.Coach.FINODEX. Assign roles to a user via Keyrock API
- Closed
Assignee before migration = Alvaro Alonso