I'm not too sure if this is more a bug or a feature request but here goes. My clients have come across an issue with the Revisioning module where they are given the message "You are not authorized to access this page" when they try to publish a revision that has already been published. I know you must be thinking that it's not really possible to do so unless you explicitly alter the url to try to but this event occurs because we have workflow emails sent out to moderators of content on our site. If 2 moderators open emails at the same time, one publishes the content and then the other tries to publish it they see the message I mentioned above.
My proposed solution is to redirect the user back to the revision view page with a drupal_set_message saying "This revision has already been published" or something to that effect.
The only problem is that I'm not really too sure about where to alter this (or I would've attached a patch). Currently I can see the most logical place would be in either _revisioning_node_revision_access or _revisioning_operation_appropriate but since the "publish revisions" op gets run through these functions on the view page it is a bit more complex than I first thought.
Can you recommend a way of changing this?