diff --git a/src/Plugin/CKEditor5Plugin/Linkit.php b/src/Plugin/CKEditor5Plugin/Linkit.php index 29430ab..857d95b 100644 --- a/src/Plugin/CKEditor5Plugin/Linkit.php +++ b/src/Plugin/CKEditor5Plugin/Linkit.php @@ -153,7 +153,6 @@ class Linkit extends CKEditor5PluginDefault implements CKEditor5PluginConfigurab ], ]; } - // @todo access check, cacheable metadata return [ 'linkit' => [ 'enabled' => $this->configuration['linkit_enabled'], diff --git a/src/Plugin/Linkit/Matcher/EntityMatcher.php b/src/Plugin/Linkit/Matcher/EntityMatcher.php index d2afc69..e5a9413 100644 --- a/src/Plugin/Linkit/Matcher/EntityMatcher.php +++ b/src/Plugin/Linkit/Matcher/EntityMatcher.php @@ -322,7 +322,6 @@ class EntityMatcher extends ConfigurableMatcherBase { public function execute($string) { $suggestions = new SuggestionCollection(); $query = $this->buildEntityQuery($string); - $query->accessCheck(FALSE); $query_result = $query->execute(); $url_results = $this->findEntityIdByUrl($string); $result = array_merge($query_result, $url_results);