I'm not sure if this is a configuration problem on my end, something that didn't make it into the D7 version or just outside the context of this module, but I'm seeing a potential issue regarding editing unpublished content. The module is working great to allow users to view unpublished content, but that user is loosing the ability to edit a node they previously could.
For my use case, I'm using override node options to allow them to unpublish content they can edit. This leaves them in a position where they can lock themselves out. I'm also using tac_lite to determine whether users can edit tagged content, but this seems to be happening when a user owns the content also.
I know there are some issues regarding access grants and unpublished content, but since it seems to have been addressed in previous versions (#300967: Edit unpublished nodes) I thought I'd ask.
Thanks in advance.
Comments
Comment #1
entendu commentedThanks for the report. Could you provide a use case so I can duplicate? (eg, who authored the node, who's trying to edit it, etc)
Comment #2
seanbfuller commentedI did some additional testing and it seems there might be an issue regarding how this module and tac_lite (and possibly other node access modules) work together for unpublished content.
I set up the following test, which seemed to work fine:
So based on that quick test and on its own, view_unpublished seems to be working great for editing unpublished nodes.
Next I tested with tac_lite in the picture. This gets a little involved, and I think that similar issues are discussed in the d6 issue in the link above. There's got to be easier tests to set up with other node access contribs, but this was mine based on a current project:
In my original post I noted that I was seeing the user could not edit his own post, which may have been me missing one of the many steps above and not rebuilding something along the way.
Hopefully that helps debug this. Apologies the length of this post. Flipping back to active just so you see the response.
Comment #3
entendu commentedThanks for the response. Hopefully it will help someone else who's looking. Marking as designed just for bookkeeping.