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

Stian Thorgersen sthorger at redhat.com
Thu Nov 5 15:00:56 EST 2015


JIRA please

On 4 November 2015 at 15:18, Andrej P <ado.boj.83 at gmail.com> wrote:

> *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]
>
>
>
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20151105/bac51323/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/20151105/bac51323/attachment-0001.png 


More information about the keycloak-user mailing list