Skip to main content
← Back to list
01Issue
FeatureShippedSwamp CLI
Assigneesstack72

Relationships

↑ child of #662

#704 serve-auth: alias 'swamp access policy' as alternative to 'swamp access grant'

Opened by stack72 · 6/19/2026· Shipped 6/19/2026

Problem

`swamp access grant create/list/revoke` uses internal terminology ("grant") that doesn't resonate with users. "Policy" is the more natural word for access control rules — it's what admins think in terms of.

Solution

Add `policy` as an alias for `grant` under `swamp access`:

```bash

These should be equivalent:

swamp access policy create --subject user:sarah --allow run --on 'model:' swamp access grant create --subject user:sarah --allow run --on 'model:'

swamp access policy list swamp access grant list

swamp access policy revoke swamp access grant revoke ```

Both `grant` and `policy` should work. `grant` remains the canonical name (used in data store, source field, internal types). `policy` is a user-facing alias.

Implementation

Register the same `accessGrantCommand` under both names in `src/cli/commands/access.ts`:

```typescript .command("grant", accessGrantCommand) .command("policy", accessGrantCommand) ```

Or use Cliffy's `.alias()` if available.

Priority

Low — UX improvement.

02Bog Flow
OPENTRIAGEDIN PROGRESSSHIPPED+ 1 MOREASSIGNED+ 2 MOREREVIEW+ 3 MOREPR_MERGED+ 1 MORENOTIFICATION_SKIPPED

Shipped

6/19/2026, 9:12:38 PM

Click a lifecycle step above to view its details.

03Sludge Pulse
stack72 assigned stack726/19/2026, 8:47:13 PM
stack72 linked parent of #6626/19/2026, 7:58:33 PM

Sign in to post a ripple.