From 093eba471c96b6db28fb9bb093071f3b045f6452 Mon Sep 17 00:00:00 2001 From: gideonsmila Date: Sun, 22 Sep 2024 15:02:31 +0300 Subject: [PATCH] update create java sdk doc --- docs/sdk/java/user/create.mdx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/sdk/java/user/create.mdx b/docs/sdk/java/user/create.mdx index d9d4cc9e..704d50e6 100644 --- a/docs/sdk/java/user/create.mdx +++ b/docs/sdk/java/user/create.mdx @@ -49,7 +49,9 @@ userAttributes.put("age", Integer.valueOf(50)); userAttributes.put("fav_color", "red"); final List roleAssignments = Arrays.asList( - new UserRoleCreate("editor", "default") + new UserRoleCreate("editor", "default"), + new UserRoleCreate("moderator", "default"), + new UserRoleCreate("editor", "default", "myResourceType:myResourceInstance") ); UserRead user = permit.api.users.create(