It works fine, but I need access to the plugin for a person only to see the history. The user must not be able to change anything, just see the report or history... is this possible?
It works fine, but I need access to the plugin for a person only to see the history. The user must not be able to change anything, just see the report or history... is this possible?
In the latest version you have 2 filters available
simple_history_show_on_dashboard
and
simple_history_show_as_page
If you know how to work with filters you could use these filters to show the history for a specific user. In the current version the user must have edit_pages capability, but this will be possibly to also change with filters in an upcoming update.
The page is only visible to editors and admins. What if I want to show it to my subscriber as well?
Try this in your functions.php-file
add_filter("simple_history_view_history_capability", function() {
return "edit_posts";
});You must log in to post.