Auditor Roles
The enhanced version of Blockchain App Builder includes support for auditor roles when using the extended Token Taxonomy Framework standard.
The version of Blockchain App Builder supplied with Oracle Blockchain
Platform Digital Assets Edition supports two additional roles for chaincode projects that use
the extended Token Taxonomy Framework standard. The new roles are Token
Auditor
and Org Auditor
. These roles function similarly to
the Token Admin
and Org Admin
roles, but auditor roles
are limited to read-only access. Admin roles have read-write access.
The following information describes the controller methods and SDK methods that support auditor roles in both TypeScript and Go.
TypeScript Controller Methods
The following controller methods support the auditor role functions.-
addTokenAuditor
- This method adds a user as a
Token Auditor
of the chaincode. This method can be called only by aToken Admin
of the chaincode. -
removeTokenAuditor
- This method removes a user as a
Token Auditor
of the chaincode. This method can be called only by aToken Admin
of the chaincode. -
getTokenAuditors
- This method returns all
Token Auditors
of the chaincode. This method can be called only by aToken Admin
orToken Auditor
of the chaincode. -
addOrgAuditor
- This method adds a user as a
Org Auditor
of the chaincode. This method can be called only by aToken Admin
orOrg Admin
of the chaincode. -
removeOrgAuditor
- This method removes a user as a
Org Auditor
of the chaincode. This method can be called only by aToken Admin
orOrg Admin
of the chaincode. -
getOrgAuditors
- This method returns all
Org Auditors
of the chaincode. This method can be called only by aToken Admin
,Token Auditor
,Org Admin
, orOrg Auditor
.
Go Controller Methods
The following controller methods support the auditor role functions.-
AddTokenAuditor
- This method adds a user as a
Token Auditor
of the chaincode. This method can be called only by aToken Admin
of the chaincode. -
RemoveTokenAuditor
- This method removes a user as a
Token Auditor
of the chaincode. This method can be called only by aToken Admin
of the chaincode. -
GetTokenAuditors
- This method returns all
Token Auditors
of the chaincode. This method can be called only by aToken Admin
orToken Auditor
of the chaincode. -
AddOrgAuditor
- This method adds a user as a
Org Auditor
of the chaincode. This method can be called only by aToken Admin
orOrg Admin
of the chaincode. -
RemoveOrgAuditor
- This method removes a user as a
Org Auditor
of the chaincode. This method can be called only by aToken Admin
orOrg Admin
of the chaincode. -
GetOrgAuditors
- This method returns all
Org Auditors
of the chaincode. This method can be called only by aToken Admin
,Token Auditor
,Org Admin
, orOrg Auditor
.
TypeScript SDK Methods
The following SDK methods support the auditor role functions.-
addTokenAuditor
- This method adds a user as a
Token Auditor
of the chaincode. -
removeTokenAuditor
- This method removes a user as a
Token Auditor
of the chaincode. -
getTokenAuditors
- This method returns all
Token Auditors
of the chaincode. -
addOrgAuditor
- This method adds a user as a
Org Auditor
of the chaincode. -
removeOrgAuditor
- This method removes a user as a
Org Auditor
of the chaincode. -
getOrgAuditors
- This method returns all
Org Auditors
of the chaincode.
Go SDK Methods
The following controller methods support the auditor role functions.-
AddTokenAuditor
- This method adds a user as a
Token Auditor
of the chaincode. -
RemoveTokenAuditor
- This method removes a user as a
Token Auditor
of the chaincode. -
GetTokenAuditors
- This method returns all
Token Auditors
of the chaincode. -
AddOrgAuditor
- This method adds a user as a
Org Auditor
of the chaincode. -
RemoveOrgAuditor
- This method removes a user as a
Org Auditor
of the chaincode. -
GetOrgAuditors
- This method returns all
Org Auditors
of the chaincode.