How to change permissions of AppAgent admin
Intro
This page describes how to change permissions of an admin. Admins' ability to call specific functions can be restricted by setting dispatch filters. Dispatch filters are lists of functions called by an admin. If no dispatch filter is set for an admin, they can call all functions. The recommended practice is to narrowly define the permissions of each admin account.
The calls allowed by default for all admins:
Prerequisites
Before you proceed, ensure you satisfy the following prerequisites:
Create an owner address (see: How to set up owner / admin addresses on TRAIT)
Ensure you have enough TRAIT tokens (see: How to obtain TRAIT tokens)
Ensure you have already created an AppAgent (see: How to create AppAgent)
Ensure the AppAgent already has an admin added (see: How to add & delete AppAgent Admin)
Set dispatch filter for an admin account
Remove dispatch filter from an admin account
Discover more:
Last updated