Documentation ¶
Index ¶
- func HasAnyRole(ctx context.Context, roles []model.Role) (bool, error)
- func HasRole(ctx context.Context, role model.Role) (bool, error)
- func NewFetchMetrics(_ Config) ...
- func NewInvokeGeneratePDF(config Config, client *lambda.Lambda, functionName string) func(cxt context.Context, html string) ([]byte, error)
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HasAnyRole ¶
HasAnyRole authorizes a user as having any in a collection of given roles
Types ¶
Click to show internal directories.
Click to hide internal directories.