Remove Admin
Remove Admin user flow testing
Ensure that admin has been created in the chain storage.
To view the storage of admin, follow the steps below.
Go to the Developer tab in menu bar.
Select Chain State from Developer menu list.

Select a pallet buckets from the dropdown menu.

Select the admins function using the dropdown input field.

Choose admin id and account then click the ⊕ plus button on the right side.
You will see 'null', which means the admin has been added.

Open the Developer tab, then click Extrinsics.

Select the buckets pallet from the dropdown input field.

Select the 'remove admin' extrinsic function.

Select namespace id, bucket id, and admin as shown below.

Click on “Submit Transaction.”

On success, it emits the AdminRemoved event.

To view the storage changes of a admin removed, follow the steps below.
Go to the Developer tab in menu bar.
Select Chain State from Developer menu list.

Select a pallet buckets from the dropdown menu.

Select the admin function using the dropdown input field.

Make sure to select admin ID and admin account in the input field.
Click the ⊕ plus button on the right side.
You will see 'None'; this means admin has been removed.

Last updated