Skip to content

Commit

Permalink
fix: revert acl check on user group update
Browse files Browse the repository at this point in the history
  • Loading branch information
netroms committed Nov 1, 2023
1 parent 0366a05 commit 9c9dc21
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
import com.google.common.collect.Sets;
import com.google.gson.Gson;
import com.google.gson.JsonElement;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.Set;
Expand Down Expand Up @@ -237,7 +238,7 @@ void updateUserHasAccessToUpdateGroups() {
UserRole roleB = createUserRole("ROLE_B", "F_USER_ADD", "F_USER_GROUPS_READ_ONLY_ADD_MEMBERS");
userService.addUserRole(roleB);

UserGroup userGroupA = createUserGroup('A', emptySet());
UserGroup userGroupA = createUserGroup('A', Collections.emptySet());
manager.save(userGroupA);

User user = createUserWithAuth("someone", "NONE");
Expand Down

0 comments on commit 9c9dc21

Please sign in to comment.