polymesh-sdk
polymesh-sdk copied to clipboard
chore: 🤖 review permissions
Description
- for discussion
- adds comments comparing permissions used on chain vs those that we check for with getAuthorization for procedures
on chain there are multiple ways how we check permissions, the main ones are
- Identity::check_perms -> cheks if the identity can execute module/extrinsic on chain
- External Agents:check_perms -> checks if the external agent has ownership ower asset, can execute the tx (module/extrinsic)
- Checks for portfolio ownership
Additional checks are done via specific methods in the extrinsic - e.g. if the signer is multiSig admin, if it is multiSig
JIRA Link
https://polymesh.atlassian.net/browse/DA-1411