Similar to #2781423: Skip access checking during update. there's a bug when deleting revisions of entities with access checks and ERR fields (#2823957: EntityQuery fails when combining revisions and node access.).

However, I don't see a need to have access checks when deleting revisions in the first place as discussed by @Berdir here https://www.drupal.org/project/paragraphs/issues/2781423#comment-11755006 so should we remove it?

CommentFileSizeAuthor
#2 3003932-2.patch636 bytesacbramley

Comments

acbramley created an issue. See original summary.

acbramley’s picture

Status: Active » Needs review
StatusFileSize
new636 bytes
berdir’s picture

Category: Feature request » Bug report
Status: Needs review » Reviewed & tested by the community

Makes sense. Testing this would require a fairly complicated setup with access grants/query altering.

miro_dietiker’s picture

Status: Reviewed & tested by the community » Fixed

Committing this as-is, thx!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.