Permissions control what EOSIO accounts can do and how actions are authorized.
They are organized in a hierarchical structure, with the root permission being
the Owner
permission. The Active
permission is a child of the Owner
.
There are two permissions by default: Owner and Active. However, each account
may have arbitrary permissions (that's what Custom
is for).
encode : Permission -> Json.Encode.Value
Turn a permission into a JSON value.
decoder : Json.Decode.Decoder Permission
Decode a JSON value into a Permission
toString : Permission -> String
Turn a Permission into a String