Looks good, works good!
Also, this patch is a must-have for the Drupal 10 compatibility. Without the patch, the
KeyAuth::getUserByKey
call fails with the following error:Drupal\Core\Entity\Query\QueryException: Entity queries must explicitly set whether the query should be access checked or not. See Drupal\Core\Entity\Query\QueryInterface::accessCheck().
- 🇺🇸United States bogdog400
I also just installed this on a relatively clean version of Drupal 10.0.2 and it generated the same error as #3 when I tried to generate a new api-key for a user.
Drupal\Core\Entity\Query\QueryException: Entity queries must explicitly set whether the query should be access checked or not. See Drupal\Core\Entity\Query\QueryInterface::accessCheck(). in Drupal\Core\Entity\Query\Sql\Query->prepare() (line 141 of /var/www/html/AI1/web/core/lib/Drupal/Core/Entity/Query/Sql/Query.php).
- Issue was unassigned.
- First commit to issue fork.
-
Rajeshreeputra →
committed 3cae5758 on 2.0.x authored by
nuez →
Issue #3272203 by Rajeshreeputra, abramm, Leksat, bogdog400,...
-
Rajeshreeputra →
committed 3cae5758 on 2.0.x authored by
nuez →
- Status changed to Fixed
almost 2 years ago 12:06pm 20 February 2023 - Status changed to Fixed
almost 2 years ago 6:47am 21 February 2023