Problem/Motivation

https://www.drupal.org/node/3161210

The change should simplify the access checking for revisions, and also a required change for Drupal 10.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

Pasqualle created an issue. See original summary.

edmund.dunn’s picture

I created this patch by removing the service for the access check and the access check itself since I couldn't find anywhere it was used.

edmund.dunn’s picture

Status: Active » Needs review
edmund.dunn’s picture

edmund.dunn’s picture

StatusFileSize
new344 bytes

Rerolled, missed one change.

edmund.dunn’s picture

StatusFileSize
new8.64 KB

I was having issues, so here is the real patch.

edmund.dunn’s picture

StatusFileSize
new8.38 KB

And again.

edmund.dunn’s picture

StatusFileSize
new8.42 KB

Hopefully, this one will work. I generated it the old-fashioned way.

Mingsong made their first commit to this issue’s fork.

mingsong’s picture

Thanks @Edmund for the patch and @Bálint Csuthy for reporting this issue.

The patch looks good to me. Since it is access checking, we need more people test and have a look at it.

If anyone could help on the testing, that would be great.

mingsong’s picture

I created a MR for it.

So you can test the patch from #8 or https://git.drupalcode.org/project/entity_diff_ui/-/merge_requests/2.patch

They are almost the same, except that the MR removes the support of Drupal 8.

mingsong’s picture

  • Mingsong committed 2eb18091 on 1.0.x
    Issue #3315629 by edmund.dunn, Pasqualle: Remove deprecated...
mingsong’s picture

Status: Needs review » Fixed
mingsong’s picture

Title: Remove deprecated MediaRevisionAccessCheck » Remove deprecated MediaRevisionAccessCheck in Drupal 10
rajab natshah’s picture

Thank you for maintaining the Entity Diff UI module.
Hoping for a tag release to start using with Drupal 10

Status: Fixed » Closed (fixed)

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

suresh7787 made their first commit to this issue’s fork.