Forums

Dynamic Widgets
bad choice for capability? (2 posts)

  1. Steve Taylor
    Member
    Posted 9 months ago #

    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

  2. Qurl
    Member
    Posted 9 months ago #

    Hi Steve,
    Yes, I agreed on that in a previous topic. As promised the next version will have that changed. Or you can download the latest development version which has this change already.

    Thanks, Jacco

Reply

You must log in to post.

About this Plugin

About this Topic