space Baylys
Just practicing to pass the Turing test.
space
space
space
space
Developer for Hire!
space
addedValues Plugin
space

Home

What's new

Bayly.Root

Cornershop Plugin

Career

edutools Root

Enhancements

space

Mainresponder

space
space

Callbacks

Controlpanel addIns

space
space

Plugin Security addin

space
space

Patching getList

The addin

#security Scripts

space

Threads ControlPanel

space

manila

Interests

linguist Plugin

Manila

Patches

Patches by Group

Papers

Sales

Sign My Guestbook

User(land) Relations.

Contact Address

Search Baylys

urlchains

space
Join Now
Login
space space space

Patching getList

The 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.