Hi Joel,
Sorry for a delayed reply.
Check if the Author role has “edit_others_posts” and/or “edit_others_pages”.
That’s the capability which gives users to edit others posts/pages.
Yes it has, but I don’t want this authors to have this permissions because I created my custom rol to work with oasis workflow plugin. But If I remove her capabilities (“edit_others_posts”, “edit_others_pages”) and others provided by ow, authors can’t publish articles, in other words Author doesn’t work as WordPress official Author rol works.
There is any way to remove all modifications done by ow to authors? I think instead of add “edit_others_posts” and “edit_others_pages” it’s more correct to add custom capability ow_read_others_posts and add new method to check if he was assigned in a workflow.
Thanks
Oasis Workflow gives the following capabilities to the Author role:
1. edit_others_posts
2. edit_others_pages
3. ow_view_reports
4. ow_view_workflow_history
5. ow_download_workflow_history
6. ow_reassign_task
7. ow_submit_to_workflow
8. ow_sign_off_step
Apart from the first two, all others are Oasis Workflow specific capabilities.
We will think over your suggestion and see if we can incorporate a custom capability instead of using an OOTB one.
I removed all this, but the problem is the Author role can’t publish her own articles…
Give the Author role “ow_skip_workflow” capability. This will allow the author to publish the article without going through the workflow.
Okey, I’ll try it tomorrow
Now role author and contributor is working correctly.
Marking this issue as resolved.