Expand description
Instructions for roles management.
Structs§
- Check
Role - The accounts definition for
check_admin
andcheck_role
. - Check
Role Bumps - Disable
Role - The accounts definition for
disable_role
. - Disable
Role Bumps - Enable
Role - The accounts definition for
enable_role
. - Enable
Role Bumps - Grant
Role - The accounts definition for
grant_role
. - Grant
Role Bumps - HasRole
- The accounts definition for
has_admin
andhas_role
. - HasRole
Bumps - Revoke
Role - The accounts definition for
revoke_role
. - Revoke
Role Bumps
Functions§
- has_
admin - Verify that the
user
is an admin of the givenstore
without signing. - has_
role - Verify that the
authority
has the given role in the givenstore
without signing. - unchecked_
disable_ role - Disable the given role in the data store.