docs: public Repository getRepository(String uid, Integer maxUsers) throws GreenPepperServerException {
          try {
              sessionService.startSession();
  
              Repository repository = loadRepository(uid);
  
              if (maxUsers != null) {
                  repository.setMaxUsers(maxUsers);
              }
  
              return repository;
          } finally {
              sessionService.closeSession();
          }
      }