polymesh-sdk icon indicating copy to clipboard operation
polymesh-sdk copied to clipboard

chore: 🤖 review permissions

Open sansan opened this issue 2 months ago • 3 comments

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

sansan avatar Dec 13 '24 11:12 sansan