[keycloak-user] updating owner of a resource

Pedro Igor Silva psilva at redhat.com
Mon Feb 25 08:40:50 EST 2019


You can't update the owner. Are you trying to change ownership ? Couldn't
you share or set permissions that allow access to some other user ?

Pedro Igor

On Sat, Feb 23, 2019 at 1:48 PM Gianni <giannif.libero.it at gmail.com> wrote:

> Hi,
> I was trying to update the owner of an existing resource with
> resource.setOwner(newOwnerId);
> getAuthzClient().protection().resource().update(resource);
> There is no Exception, but it seems that resource still keeps the previous
> owner... is there a different way to achieve this? Is it possible at all?
> thanks
> gianni
> PS: the server is keycloak 4.8.3Final
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user

More information about the keycloak-user mailing list