Hi @idearius,
Based on just a quick research, apparently your user or role has to have view_all_aryo_activity_log capabilities granted in order to access Activity Log. That is why you might not see if for certain roles or users on Backend Menu tab.
Regards,
Vasyl
Thanks for your answer, Vasyl.
I guess admin users have to have it, but the menu item is still present for the Editor (WordPress) and Store Manager (WooCommerce) roles.
Can it be taken out of the way somehow? It’s useless for non-admin roles.
Best.
@idearius,
Ok, I’ve just checked the source code for this plugin and apparently the view_all_aryo_activity_log is not the only capability that allows access to this menu. The edit_pages is another. So if any of your users have one of the mentioned capabilities checked, then he/she will see this menu.
I would suggest to just restrict access to the Activity Logs menu on the Backend Menu tab and you should be good to go. As an option, you can just switch to Manage Default Settings and restrict access to the Activity Logs menu for all users. Then simply override this restriction for your administrator role. This way everybody except your administrator will no longer be able to see or access the Activity Logs.
Keep me updated if anything.
Regards,
Vasyl
This is really strange. The Administrator role has the edit_pages capability, yet in the Users/Roles Manager, the Backend Menu section allows the Activity Logs menu item to be hidden only for the Administrator role. For all other roles it is not an option.
Trying the hide-all + unhide-for-one option seems a little risky, so I guess I’ll stay put until I can test it in a safe environment.
Thanks again for the follow-up.