Hi Leon,
Please take a look:
https://issues.jboss.org/browse/KEYCLOAK-6658
Cheers,
Dmitry Telegin
CTO, Acutus s.r.o.
Keycloak Consulting and Training
Pod lipami street 339/52, 130 00 Prague 3, Czech Republic
+42 (022) 888-30-71
E-mail: info(a)acutus.pro
On Mon, 2018-07-23 at 06:32 +0000, Graser Leon (INST-CSS/BSV-OS) wrote:
Hi all,
for a project we currently try to automate out Keycloak setup programmatically using the
Java API. So far I figured out most of the requirements except for one feature. How can I
enable/disable the permissions of an object such as a group or a role? In the web UI they
have a tab called "Permissions" with a boolean switch to enable/disable them and
if I have a look at the HTTP calls I find a PUT call to my group similar to
<url>/auth/admin/realms/<realm-name>/groups/<id>/management/permission
with a payload of { enabled: true }. As of now I extended the
org.keycloak.admin.client.resource.GroupResource interface to make it happen using
RESTeasy. Is there an already existing way in the Java API to accomplish that?
Thanks in advance for any ideas.
Regards,
Leon
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user