How to whitelist plugin paths per site?

How to whitelist plugin paths per site?

eshiers
Explorer Explorer
812 Views
0 Replies
Message 1 of 1

How to whitelist plugin paths per site?

eshiers
Explorer
Explorer

Is there a better way to whitelist custom plugin-paths on a site wide level? i.e via an env var?

 

I can only see this can be done via optionVar's per user like so:

 

cmds.optionVar(sva=("SafeModeAllowedlistPaths", "some/path"))

 

This also launches a dialog window that you need to click to accept, making it pretty unusable as a way of whitelisting plugin paths for a whole site.

 

Any ideas on a better way to do this? Other than just turn off everyone's secure plugin loading...

813 Views
0 Replies
Replies (0)