FUNCTION

check_required_flags

function check_required_flags(flags: set<text>, required_flags: list<text>): boolean

Checks that the set of flags contains all the required flags, which means the auth descriptor has the authorization necessary to call the operation.

Parameters

  • flags — the auth descriptor flags
  • required_flags — the required flags
© 2024 Chromia