|
Baylys Just practicing to pass the Turing test. |
||||||||||||||||||||||||||||||||||
|
Patching getListThe script manilaSuite.plugins.getList presents a list of available plugins to the ME of a website. The patch controls which names are added to the list. It works as follows. If there is an entry called #security in the plugin table in config.manila.plugins.registered (which is copied from the data.initialconfig of the plugin table by its install script) then the plug-in is deemed invisible to the site unless the script returns true. To maintain the current behavior, if there is no #security, a plugin is visible to all sites. The value of #security can be a script, an address or a string, which must resolve to an address of a script. I propose the convention that each plugin contain a script called isVisible and the Value of #security is <plug-in name>.isVisible.
My proposed patch is here.
It has no support from Userland.
|
|||||||||||||||||||||||||||||||||