From 3ccf5931ae035f77403c118b71c8c79398b2c3d9 Mon Sep 17 00:00:00 2001 From: felmer <felmer> Date: Tue, 21 Nov 2017 07:59:17 +0000 Subject: [PATCH] SSDM-5724:missing @JsonIgnore annotation added SVN: 38925 --- .../generic/asapi/v3/dto/roleassignment/RoleAssignment.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openbis_api/source/java/ch/ethz/sis/openbis/generic/asapi/v3/dto/roleassignment/RoleAssignment.java b/openbis_api/source/java/ch/ethz/sis/openbis/generic/asapi/v3/dto/roleassignment/RoleAssignment.java index 64454e1f05c..c227bd8e6de 100644 --- a/openbis_api/source/java/ch/ethz/sis/openbis/generic/asapi/v3/dto/roleassignment/RoleAssignment.java +++ b/openbis_api/source/java/ch/ethz/sis/openbis/generic/asapi/v3/dto/roleassignment/RoleAssignment.java @@ -87,6 +87,7 @@ public class RoleAssignment implements Serializable, ISpaceHolder this.id = id; } + @JsonIgnore public Person getUser() { if (getFetchOptions() != null && getFetchOptions().hasUser()) @@ -101,6 +102,7 @@ public class RoleAssignment implements Serializable, ISpaceHolder this.user = user; } + @JsonIgnore public AuthorizationGroup getAuthorizationGroup() { if (getFetchOptions() != null && getFetchOptions().hasAuthorizationGroup()) -- GitLab