• Resolved pepe80

    (@pepe80)


    Hi!
    We have users with “Editor” role and “manage_options” capability. Unfortunately, your plugin removes “manage_options” capability. Please check the simple_banner_menu() function. In my opinion, the problem occurs on line 133:

    $remove_role->remove_cap( $manage_options );

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author rpetersen29

    (@rpetersen29)

    Thanks for pointing this out. I’ll submit a bugfix for this tonight. In the meantime you can allow permissions for the editor role in simple-banner and it will reinstate that permission.

    Plugin Author rpetersen29

    (@rpetersen29)

    Hi @pepe80 I’ve released a short term bug fix for this issue. For now the plugin will only remove the manage_options permissions if you are removing simple banner permissions. So to get around this in your case, you’ll need to remove the Editor simple banner permissions and save, and then re-add the manage_options permissions for the editor role using whatever plugin you currently use to manage that.

    In a future bugfix i’m going to expose options to enable/disable both the manage_options and manage_simple_banner capabilities.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Plugin removes manage_options capability’ is closed to new replies.