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

Stian Thorgersen sthorger at redhat.com
Fri Nov 6 09:05:22 EST 2015


Did you reproduce the issue on 1.6.0? I'm pretty sure there was no related
fixed in 1.6.0->1.6.1.

On 6 November 2015 at 14:59, Andrej P <ado.boj.83 at gmail.com> wrote:

> Possible bug was tested now on version 1.6.1 and there is solved.
> Is it possible, that it was only 1.6.0?
>
> On Thu, Nov 5, 2015 at 9:00 PM, Stian Thorgersen <sthorger at redhat.com>
> wrote:
>
>> 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/20151106/87cbb2d5/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/20151106/87cbb2d5/attachment-0001.png 


More information about the keycloak-user mailing list