Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func VerifyBatch

func VerifyBatch(ctx context.Context, permission realms.Permission, ids invocations.IDSet) (err error)

VerifyBatch is checks multiple invocations' realms for the specified permission. There must not already be a transaction in the given context.

func VerifyInvNames

func VerifyInvNames(ctx context.Context, permission realms.Permission, invNames ...string) error

VerifyInvNames does the same as VerifyInvocation but accepts invocation names (variadic) instead of a single invocations.ID. There must not already be a transaction in the given context.

func VerifyInvocation

func VerifyInvocation(ctx context.Context, permission realms.Permission, ids ...invocations.ID) error

VerifyInvocation checks if the caller has the specified permission on the realm that the invocation with the specified id belongs to. There must not already be a transaction in the given context.

Types

This section is empty.

Source Files