hunk.code_window:         Set<Policy> policySet = user.getPolicies().stream()
                   .filter(policy ->
                           policy.getPermission().equals(MANAGE_USERS.getValue()) ||
                                   policy.getPermission().equals(USER_MANAGE_ORGANIZATIONS.getValue())
                   ).collect(Collectors.toSet());
           return policyGenerator.getAllChildPolicies(user, policySet, User.class);
       }
       /**
        * This function creates a new user in the system. Primarily used by new users signing up for the first time on the
        * platform. This flow also ensures that a personal workspace name is created for the user. The new user is then
  
hunk.labels: keep replace replace replace replace replace replace replace keep keep keep keep keep
hunk.after_edit:         return new HashSet<>(userPolicies.values());
  
hunk.file_path: app/server/appsmith-server/src/main/java/com/appsmith/server/services/UserServiceImpl.java
hunk.type: replace
file: package com.appsmith.server.domains;
  
  import lombok.Getter;
  import lombok.NoArgsConstructor;
  import lombok.Setter;
  
  @Getter
  @Setter
  @NoArgsConstructor
  public class ActionProvider {
      String name;
  
      String imageUrl;
  
      String url;
  
      String description;
  
      String credentialSteps;
  }
  