Overview
Blank Board includes a permissions system that controls what plugins can do to other plugins’ containers. This prevents unauthorized plugins from modifying or moving other plugins’ UI.api.setPluginPermissions(pluginId, permissions)
Set permissions for a plugin.Signature
Default Permissions
All plugins start with these defaults:How It Works
Whenapi.updatePlugin(targetId, updater) is called:
- If the caller is updating its own container → always allowed
- If the caller is updating another plugin’s container → checked against
canModifyOthers - If the caller lacks permission → the update is silently blocked (logged to console)
System Plugins
The Plugin Manager is the primary system plugin. It gets elevated permissions automatically:Security Model
The permissions system is runtime-only — it’s not persisted to localStorage. Permissions are set during plugin loading and reset on page reload.