I created a custom plugin for a client. Unfortunately, I did not realize that they need/want for a non-admin user to be able to configure the plugin.
Is it a matter of creating a new privilege - PRIV_PLUGINADMIN, perhaps? - and modifying PluginConfig.php accordingly? if so, how would I go about that?
Rather than modifying
PluginConfig.php
, I would create a custom privilege flag via the Admin interface, and then add a new page to the plugin that checks for that privilege flag and allows users to edit the plugin's configuration settings. TheConfigSettingsUI
object should make the new page pretty easy to implement, but if you go this route and run into any snags, please let us know and we'll help smooth them out.