[Plugin: Document Repository] Editors Not Able to Edit Documents
We’ve never had a reason to really invoke the Document Roles until recently, but now we’ve come across an issue with them.
The original author of many of our documents left, and the people that filled in for that person (set as “Editors” in WordPress, assigned the same Document Role as the person that left) are not able to edit that person’s documents.
The strange thing is, they can see and click the “Edit” link for the document post, and they can make changes to the title, content, etc.; but when they press the “Update” button, they get a WordPress error message that says “You are not allowed to edit posts as this user.”
In addition, when an Editor with that document role tries to upload a new version of the document, it seems to stall out in the “Crunching” stage and never gets to the point where it’s “Finished”.
I’m happy to dig around the code and try to work up a patch, but before doing that, I just wanted to make sure you didn’t have any suggestions as to where to start.
I’m assuming that I’ll need to remove the fact that the post_type automatically maps meta caps, then use a process similar to what Justin Tadlock outlines in his tutorial to implement custom meta capabilities based on the value of the user’s document role; but I’m not sure.
Do you have any thoughts? Thanks.
- The topic ‘[Plugin: Document Repository] Editors Not Able to Edit Documents’ is closed to new replies.