NEW Workflows: agents follow the steps, you sign off. Read more →
Ulpi

Clearance

PLUGIN

Per-user tool permissions for Ulpi on messaging platforms and webhooks (#527, #3897): give each sender a tier (owner, admin, user, guest, blocked or your own).

by yuzuru99 · v1.1.0

What it does

Per-user tool permissions for Ulpi on messaging platforms and webhooks (#527, #3897): give each sender a tier (owner, admin, user, guest, blocked or your own) and every tool call is checked in code against the sender's tier before it runs, so a prompt cannot talk its way to terminal access. Deny-by-default for tools a tier does not name (new MCP servers included), per-tier hourly rate limits, a /clearance command to inspect and assign tiers from chat, and a local audit log of refused actions.

Not a sandbox: an allowed tool keeps its normal reach.

How to set it up

  1. Disclosure — pre_tool_call may block a tool call (never modifies arguments, never approves, never touches the approval system) and pre_llm_call may block a turn for the blocked tier or a rate limit and appends one line of context naming the sender's current tier (gateway senders only); with the default settings every messaging and webhook sender is the tier (chat only, no tools) until assigned a tier in the plugin settings or with /clearance set, except senders Ulpi already lists in allow_admin_from (DM chats) or group_allow_admin_from (group chats), who get the tier in that scope (gateway_admin_tier changes or disables this; an explicit users entry wins); registers /clearance; reads only its own settings, the per-message session identity and the allow_admin_from / group_allow_admin_from lists from Ulpi's gateway config loader; writes its own settings on /clearance set|unset (owner only) and an audit log (tool and argument names, never values) in its plugin data directory; no network calls, no shell commands, no background processes, no telemetry, no credential reads, no self-update.

    guest
    owner

Review notes

What an owner reads and accepts before the install is approved.

  • Ulpi has not reviewed this version: it is listed in the public plugin catalog, and the install still fetches it at its pinned commit, checks its shape and scans it before you approve

More in Tools

All listings →