Skip to content

Return Result<(), dispatchError> instead of bool for all allowance check callbacks

list of allowance check callbacks:

  • EnsureIdtyCallAllowed
  • IsCertAllowed
  • IsIdtyAllowedToRequestMembership
  • IsIdtyAllowedToClaimMembership
  • IsIdtyAllowedToRenewMembership

TODO:

  • Merge all membership callback in one trait.
  • Remove generic errors returned when theses callback return false (throw the inner error instead)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information