code: public <T> List<T> findAll(Class<T> entityClass, String privilegeKey) {
          return findAll(null, entityClass, privilegeKey).getContent();
      }
docs: Find all permitted entities.
  @param entityClass the entity class to get
  @param privilegeKey the privilege key for permission lookup
  @param <T> the type of entity
  @return list of permitted entities