• Resolved myarafat

    (@myarafat)


    Hi,

    Apparently, the activity log can only viewed by the Admin of the site. Would it be possible to give access to the editor of the site so that they can see logs from Dash Board? Please kindly advise.

    Thanks,
    Yeasin

Viewing 6 replies - 1 through 6 (of 6 total)
  • Why would you want that, since all plugin/theme activate/deactive logs are also being displayed.

    • This reply was modified 6 years, 7 months ago by basvandijkk.
    Thread Starter myarafat

    (@myarafat)

    Hi,

    Thanks for your prompt response. As you know that the Activity Log plugin records all the activities of the WordPress. However, only admin can view these logs from Activity Logs. I was wondering if there was a way to give the editor also that access so that they can view the activities. Please note that we are little restricted to provide the admin right to Editor. But editors need to see the logs to follow any other editors update any pages in the website. This access privilege would help them to coordinate their work. Grateful if you could kindly advise.

    Thanks

    When searching through the code I saw that they were checking for:

    if ( is_super_admin() || current_user_can( 'view_all_aryo_activity_log' ) {

    Which means that if you add the capability view_all_aryo_activity_log to the user_role editor the users with the role editor will have access to the logs.

    the add_cap is being explained on the following page: https://codex.www.ads-software.com/Function_Reference/add_cap

    • This reply was modified 6 years, 7 months ago by basvandijkk.

    @myarafat Bump, did my suggestion fix your problem?

    Thread Starter myarafat

    (@myarafat)

    @basvandijkk, Yes, it works! Thank you so much!

    @myarafat Thats great! Could you mark this topic as resolved :)?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Editor access to the log’ is closed to new replies.