CHECK YOUR PERMISSIONS
This guide shows you how to check your own permissions on a swamp serve
instance without needing admin access.
List everything you can do
swamp access can-i --server wss://swamp.example.comThis returns a summary of all actions you are allowed to perform, based on your identity and the grants that apply to you.
Check a specific permission
swamp access can-i --action run --on 'workflow:@acme/deploy' \
--server wss://swamp.example.comThis checks whether you can perform the specific action on the specific resource.
Simulate IdP group memberships
If your grants depend on IdP groups, pass --collectives to simulate
memberships in the check:
swamp access can-i --action run --on 'workflow:@acme/deploy' \
--collectives platform-eng --server wss://swamp.example.comRelated
- Manage Access Grants — how admins create and manage grants
- Access Commands — full CLI
reference for
swamp access can-i