protected function checkDomainGrants($domain)
 {
     if (!$this->security->isGrantedForDomain($domain)) {
         throw new PermissionDeniedException("No rights to update domain [{$domain}]");
     }
 }