Custom documents
-
I’ve noticed that the plug in checks that a user can edit the document by checking the edit_posts, but if a user can only edit a custom post type then they cannot schedule and save a document as the _eb_attr_ is added and the return current_user_can(‘edit_posts’); returns false
public function auth_callback()
{
return current_user_can(‘edit_posts’);
}
Is there a way to manage additional user roles / custom document?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.