# Clearance

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

- Type: Plugin
- Version: 1.1.0
- Updated: 22 Nov 2026
- Publisher: yuzuru99
- Category: Tools

[Contact us](https://www.ulpi.io/en/support#contact)

## 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

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

- [Clef Music Tools](https://www.ulpi.io/en/marketplace/plugins/clef-music-tools): Transpose chord symbols, spell piano chords, map guitar tab to piano notes and find music guides.
- [CLI Session Tabs](https://www.ulpi.io/en/marketplace/plugins/cli-session-tabs): Directory-scoped native TUI tabs when the public core capability contract is advertised, with isolated tmux fallback.
- [cloudflare-sandbox](https://www.ulpi.io/en/marketplace/plugins/cloudflare-sandbox): Disclosure — you deploy the bundled Cloudflare Worker to your own account first; running containers is billed by Cloudflare; commands.

[All listings →](https://www.ulpi.io/en/marketplace) · [Publisher's guide →](https://www.ulpi.io/en/docs) · [Report a problem →](https://www.ulpi.io/en/security#report)
