If user doesn't have access to the moderated revision there is no sense in redirecting him/her to the revision page.
Steps to reproduce (the most simple case):
- Create node type A with enabled revision moderation.
- Allow anonymous users to edit any nodes of type A (without any other content permissions, except for "View published content").
- Create node of type A by admin.
- Edit this node by anonymous user and save it.
Expected behavior:
- Visitor is redirected back to the
node/%page
Actual behavior:
- Visitor is redirected to the
node/%/revisions/%/viewand see "Access denied".
Patch follows.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | revisioning-1681254-1.patch | 1.32 KB | dmitriy.trt |
Comments
Comment #1
dmitriy.trt commentedPatch attached.
Comment #2
rdeboerThanks Dmitriy!
Makes sense. Hope to set aside some time for a batch of patches I want to apply soon.
Rik
Comment #3
rdeboerPatch applied (finally!).
Thanks Dmitriy!
Rik