Guard requiring a catalogue permission held in the request's scope — through
a catalogue role, a per-scope custom role, or the principal's own
permissions. An array is ALL-of. Returns 501/401/403 as
requireScopedRole does.
Parameters
permission: string|readonlystring[]
The permission, or permissions all of which are required
Guard requiring a catalogue permission held in the request's scope — through a catalogue role, a per-scope custom role, or the principal's own permissions. An array is ALL-of. Returns
501/401/403asrequireScopedRoledoes.