Skip to content

Commit

Permalink
SHIBUI-2051
Browse files Browse the repository at this point in the history
MetadataResolversControllerIntegrationTests update
  • Loading branch information
chasegawa committed Aug 27, 2021
1 parent 115f380 commit d0471c9
Show file tree
Hide file tree
Showing 3 changed files with 189 additions and 107 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ public Group getGroup() {
}

public String getGroupId() {
if (getRole().equals("ROLE_ADMIN")) {
groupId = Group.ADMIN_GROUP.getResourceId();
}
if (groupId == null) {
groupId = getUserGroups().isEmpty() ? null : getGroup().getResourceId();
}
Expand Down
Loading

0 comments on commit d0471c9

Please sign in to comment.