code: @Override
      public void setRoles(List<RoleEntity> inRoles) {
          if (inRoles == null) {
              this.roles = new ArrayList<>();
          } else {
              this.roles = new ArrayList<>(inRoles);
          }
          this.roles = inRoles;
      }
docs: Set the roles assigned to the current user.
  
  @param inRoles A list of roles to be assigned to the user.