- Issue created by @klimp
- Status changed to Closed: works as designed
about 2 years ago 4:38am 15 April 2023 - πΊπ¦Ukraine dench0
@klimp
thanks for the reporting butaccessCheck
does not make any sense for the config entities.
PS: here is one example from the Drupal core https://git.drupalcode.org/project/drupal/-/blob/10.1.x/core/modules/fie... - First commit to issue fork.
- Status changed to Needs review
almost 2 years ago 10:33am 23 May 2023 - last update
almost 2 years ago 1 pass - π΅π°Pakistan hmdnawaz
@dench0 your link does not have any example you mentioned.
Relying on entity queries to check access by default is deprecated in drupal:9.2.0 and an error will be thrown from drupal:10.0.0. Call \Drupal\Core\Entity\Query\QueryInterface::accessCheck() with TRUE or FALSE to specify whether access should be checked.
Created an MR and re-opening the issue.
- last update
almost 2 years ago 1 pass - @hmdnawaz opened merge request.
- Status changed to Closed: works as designed
almost 2 years ago 10:45am 23 May 2023 - πΊπ¦Ukraine dench0
Sorry, it was already overwritten, here is a new link:
https://git.drupalcode.org/project/drupal/-/blob/10.0.x/core/modules/fie...And pls read carefully the change record β .