Loading...
 
Skip to main content

Features / Usability


PluginSQL Approval - No Change to Plugin

Hi All.

I'm using the following code to call an SQL Stored proc:

{SQL(db=>DEVDB,0=>,1=>,2=>)}
exec insertrecord ?, ?, ?
{SQL}

The problem is that even though the page hasn't changed, it requires approval every time the page parameters passed in the URL are changed. Can anyone suggest how I could change this behavior, or where I can find the appropriate code to modify? Ideally, I'd like to have it require approval if the code calling the plugin changed, but not if it is merely a change to the stored proc parameters, which should be safe.

Any help or pointers would be appreciated. Thanks.

- B

The security fingerprint is hash generated from fields that include the plugin arguments and data. And your SQL plugin's data changes based on the parameters passed in the URL, so the fingerprint changes and then it needs approval again.

It is probably a security risk, but you could try granting the group "Can execute unapproved plugin registered (tiki_p_plugin_preview)". I'm not sure if that will work though.

Tom