WordPress.org

Ready to get started?Download WordPress

Forums

WP-Optimize
[resolved] Non-admins can see admin bar link (4 posts)

  1. locomo
    Member
    Posted 6 months ago #

    Hi .. what permission level should be able to see the admin bar link (when enabled)?

    I have a custom user role with similar permissions to Editor and these users can see the admin bar link.

    Is there a specific capability associated with this or does the plugin only check for standard user roles and not custom user roles?

    thanks

    http://wordpress.org/plugins/wp-optimize/

  2. ruhanirabin
    Member
    Plugin Author

    Posted 6 months ago #

    plugin just checks whether it is admin or not. ( is_admin() )

  3. locomo
    Member
    Posted 6 months ago #

    okay thanks .. FYI is_admin() only checks if the viewer is in the admin panel and not whether they have admin privileges

    would be great if the plugin did some access control to prevent non-admin users from doing database operations

  4. ruhanirabin
    Member
    Plugin Author

    Posted 5 months ago #

    Yeah you are right about that. I should implement some access level instead. I need to get some free time first :)

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.