code: private Persona establishOwner(org.hawkular.accounts.api.model.Resource resource, Persona current) {
          while (resource != null && resource.getPersona() == null) {
              resource = resource.getParent();
          }
  
          if (resource != null && resource.getPersona().equals(current)) {
              current = null;
          }
  
          return current;
      }
docs: Establishes the owner. If the owner of the parent is the same as the current user, then create the resource
  as being owner-less, inheriting the owner from the parent.