Skip to content

Approval and permissions ​

A plugin does nothing until a creator approves it. Open Settings → Plugins, select the plugin, and press Review & approve.

What the approval dialog shows ​

SectionWhat it tells you
BlocksThe blocks the plugin adds, with their shape and the ways they can run
Integrations providedThe integration variants the plugin adds, when it has any
Triggers providedThe trigger kinds the plugin adds, what each may reach, and whether Fluxify retries its runs
Approving grantsEverything the plugin is asking to use, and what you grant by approving
PackageWhere it came from (upload, npm, link or folder), its exact version, and the Fluxify versions it supports

A plugin that asks for nothing special shows No special permissions.

Permissions ​

By default a plugin's blocks can only work with the data passed to them. A permission lets them reach further.

PermissionWhat it allows
Use the database integrationUse the project's database connections
Use the kv integrationUse the project's key-value stores
Use the queue integrationUse the project's queues
Use the acme/email integrationUse the project's integrations of a group the plugin adds. The name is the permission's kind
Read app configRead the project's App Config values

A permission names a kind: a group (kv, acme/email) or one variant of it (kv/Redis, acme/email/smtp). A group covers every variant of that group; a variant covers only itself.

Adding an integration does not need a permission. The permission is for a block or trigger that uses one, and the approval covers the kinds the plugin's blocks and triggers ask for. A trigger asks for the same permissions a block does.

A block or trigger that tries to use something it was not granted fails with a message naming the missing permission.

WARNING

A permission limits what a block is given. It is not a sandbox: plugin code runs inside Fluxify. Approve only plugins whose source you trust.

When a plugin goes back to pending ​

Approval is for one exact build of one version. A plugin returns to Pending approval when:

  • you upload a new version, or the same version with different contents
  • it asks for more permissions (any change to what it asks for comes with a new build)

An approved plugin that gets a pending upgrade keeps serving its old version until you approve the new one (upgrading).

If you reject a plugin that has never been approved, none of its blocks load. You can approve it later.

A folder plugin whose files change on the server after approval is not reloaded: its workers report an error until you add it again from the Folder tab and approve the new contents.

Dev and Prod switches ​

Each plugin has a Dev and a Prod checkbox in the list.

SwitchDefaultMeaning
DevOnThe approved plugin's blocks and triggers run in the development environment
ProdOffThe approved plugin's blocks and triggers run in production

Turn Prod on when you are ready for production to use the plugin. A route or workflow that uses a plugin block can only be promoted to production while that plugin is approved and enabled there. Turning a switch off stops the blocks from loading in that environment, so any route that uses them stops working there.

A plugin trigger runs where its plugin is enabled and the workflow it starts is live. Turning the plugin's switch off stops the trigger; the trigger row and its settings are kept, and turning the switch back on starts it again. Its existing integrations stay too, marked plugin disabled (status).

Approving, rejecting and changing a switch are recorded in the audit log and recompile the project's routes.

Released under the Apache License 2.0. Enterprise features are under the Fluxify Enterprise Edition License.