- Issue created by @tregismoreira
- @tregismoreira opened merge request.
When deleting media revisions, users are getting an error, as we can see in the attached file.
After some trials and errors, I found that the issue is caused by the revisionsCount query: https://git.drupalcode.org/project/media_revisions_ui/-/blob/2.1.x/src/F...
If a user with less privileges tries to delete a revision, the error is fired. If an admin does, there is no error.
I found that disabling the access check in the count query fixes the issue.
N/A
N/A
N/A
N/A
Active
2.1
Code