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

Andrej P ado.boj.83 at gmail.com
Fri Nov 6 08:59:58 EST 2015


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/e803cc3a/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/e803cc3a/attachment-0001.png 


More information about the keycloak-user mailing list