Adjust a Permission
Adjust a permission's effective duration. This is useful when you need to extend or shorten the validity period of an existing permission without going through a full renewal process.
This is a delegable message — it requires an authority (group account) and can be executed by an authorized operator.
Prerequisites
- Group account (authority) — You need a Cosmos SDK group account that controls the permission: the permission's own authority (for ECOSYSTEM/self-created perms) or the validator's authority (for VP-managed perms).
- Operator authorization — Your operator account must be granted authorization for
MsgAdjustPermissionby the authority. See Grant Operator Authorization. - Existing permission — The permission must exist and be in an active, adjustable state.
Message Parameters
| Name | Description | Mandatory |
|---|---|---|
id | Numeric ID of the permission to adjust. | yes |
effective-until | New expiration timestamp (RFC 3339 format). Must be in the future. | yes |
--authority | Group account (authority) on whose behalf this message is executed. | yes |
Post the Message
- CLI
- Frontend
Usage
veranad tx perm adjust-perm <id> <effective-until> \
--authority <group-account> \
--from <operator-account> --chain-id <chain-id> --keyring-backend test --fees <amount> --gas auto --node $NODE_RPC
Example
PERM_ID=10
veranad tx perm adjust-perm $PERM_ID 2027-12-31T23:59:59Z \
--authority $AUTHORITY_ACC \
--from $OPERATOR_ACC --chain-id $CHAIN_ID --keyring-backend test --fees 600000uvna --node $NODE_RPC
Verify the updated permission:
veranad q perm get-perm $PERM_ID --node $NODE_RPC --output json
Check that effective_until reflects the new timestamp.
tip
TODO: When available in the UI, link and screenshots will be added here.