code: public AccessLevel getAccess(User user, String repository, String path) {
          return getAccess(user.getName(), repository, path);
      }
docs: Convenience method if you have a {@link User} object instead of user name as a string.
  @param user The user for which you like to know the access level.
  @param repository The repository which will be checked for.
  @param path The path within the repository.
  @return The AccessLevel which represents the permission for the given user in
  the repository and the given path.