[keycloak-user] Keycloak Share a resource with other User

Nicola nikmess at hotmail.it
Mon Sep 16 12:04:48 EDT 2019


Hi, i'm new to keycloak, i'm watching the *photoz uma example*, in this
example a user can *create *a resource and then *share *with other user, i'm
interested to this feature.

Checking in the JavaDOC i've found that from a PermissionResource i can
create a *PermissionTicketRepresentation*, where i can set the resource, the
scope, the owner and the requester of the resource, i've tried this, but i
get 

/{"error":"not_authorised","error_description":"permissions for
[3707be30-6e85-4d48-92c9-afaf0750eaec] can be only created by the owner"}/

so, how can i do this via code?
kind regards




--
Sent from: http://keycloak-user.88327.x6.nabble.com/


More information about the keycloak-user mailing list