• On line 126 of dynamic-widgets.php, where add_submenu_page is used, the capability required for the plugin’s settings page is switch_themes.

    The majority of the sites I build have completely custom themes, and because switching theme would effectively break the whole site, I reserve this capability for Admins. I grant the Editor permission to manage site options, but not to install plugins, switch themes, etc. Only this means that with Dynamic Widgets, I have to grant them the ability to switch themes in order for them to set Dynamic Widgets settings.

    Wouldn’t edit_theme_options (1) solve my problem, and (2) be a more logical choice anyway? Or perhaps create a manage_dynamic_widgets capability?

    thanks,

    Steve Taylor

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘bad choice for capability?’ is closed to new replies.