Function pallet_msa::pallet::dispatchables::revoke_schema_permissions
source · pub fn revoke_schema_permissions<T: Config>(
provider_msa_id: MessageSourceId,
schema_ids: Vec<SchemaId>
)
Expand description
Revokes a list of schema permissions to a provider. Attempting to revoke a Schemas that have already been revoked are ignored.
Events
Errors
NoKeyExists
- If there is not MSA fororigin
.DelegationNotFound
- If there is not delegation relationship between Origin and Delegator or Origin and Delegator are the same.SchemaNotGranted
- If attempting to revoke a schema that has not previously been granted.
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::revoke_schema_permissions
.