Support » Plugin: Plugin Notes Plus » [Request] Role edit restriction

  • Resolved Giang Le

    (@gianghl1983)


    Hi,

    Thank you so much for this cool plugin. I have a small request to restrict editing capability for admin only (better if hide note by roles…)?

    In my case, I make website for clients and I want to only me know what plugin is for what purpose (for later check…)

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author jamiebergen

    (@jamiebergen)

    Hi,

    I’m glad the plugin is useful to you! Regarding access to plugin notes by role, the only user role that can currently access plugins (and therefore plugin notes) is an Administrator.

    All other user roles (Subscriber, Contributor, Author, and Editor) cannot see the plugins page. If they go here: /wp-admin/plugins.php, they get: “Sorry, you are not allowed to access this page.”

    Beyond that, my plugin checks to make sure that the user has the activate_plugins capability before it renders the plugin notes, and that capability is only available to Administrators.

    So, as far as I can tell, the plugin already does what you’re looking for. Let me know if you have any questions.

    Thanks!
    Jamie

    Thread Starter Giang Le

    (@gianghl1983)

    @jamiebergen Hi, Thank you for your feedback! I checked again on 1 of my websites, user who has “Author” role still can see plugins’ notes 😀

    Could you please check that again! Thank you!

    Br,

    Plugin Author jamiebergen

    (@jamiebergen)

    @gianghl1983 I just tested on a clean install of WordPress, and the Author role is not able to see the plugins page. This is supported by documentation here: https://wordpress.org/support/article/roles-and-capabilities/#author

    Can you provide more information about where this user is seeing the plugin notes? And are you using any plugins that would alter user capabilities?

    Thread Starter Giang Le

    (@gianghl1983)

    @jamiebergen I am using 2 plugins which may affect to user capabilities:
    1/ Admin Menu Editor
    2/ User Role Editor by Members

    It may be the root of the problem, I will check later :D.

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Request] Role edit restriction’ is closed to new replies.