hunk.code_window:         user.getPolicies().addAll(Set.of(manageUserPolicy, manageUserOrgPolicy));
  
hunk.labels: keep replace keep
hunk.after_edit:         Map<String, Policy> userPolicies = policyUtils.generatePolicyFromPermission(aclPermissions, user);
  
hunk.file_path: app/server/appsmith-server/src/main/java/com/appsmith/server/services/UserServiceImpl.java
hunk.type: replace
file: package com.appsmith.external.models;
  
  import lombok.EqualsAndHashCode;
  import lombok.Getter;
  import lombok.NoArgsConstructor;
  import lombok.Setter;
  import lombok.ToString;
  
  @Getter
  @Setter
  @ToString
  @EqualsAndHashCode
  @NoArgsConstructor
  public class Property {
  
      /*
       * A convenience constructor to create a Property object with just a key and a value.
       */
      public Property(String key, String value) {
          this.key = key;
          this.value = value;
      }
  
      String key;
  
      String value;
  
      Boolean editable;
  
      Boolean internal;
  
      String description;
  
      Boolean mandatory;
  
      String type;
  
      String defaultValue;
  
      String minRange;
  
      String maxRange;
  
      String[] valueOptions; // This stores the values that are permitted by the api for the given key
  
  }
  