[keycloak-user] Possible bug: Changing of role description via REST API causes deleting of role name

Andrej P ado.boj.83 at gmail.com
Wed Nov 4 09:18:37 EST 2015


*Description:* I want to add or change role description via REST API
interface

*Details:* In the request body only attribute “description” (from role
description) is set (see request body section)
*Usecases from API specification:* *Update a role by name* and *Update the
role*
*Request body:*

{
"description":"manage realm role of UNI-4/4. Add/delete/update of users."
}

*Observed reaction:* after request, the parameter “name” is missing in the
role.
*Result:* (of REST API Get all roles for the realm or client)

 {
      "id": "da1f8c02-6823-4d86-8873-f2d533ba43fa",
      "description": "manage realm role of UNI-4/4. Add/delete/update
of users.",
      "scopeParamRequired": false,
      "composite": false
  },


Printscreen of result in GUI:
[image: Inline image 1]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20151104/f2249753/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 79029 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/keycloak-user/attachments/20151104/f2249753/attachment-0001.png 


More information about the keycloak-user mailing list