authz

package
v0.102.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 19, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CanViewPayloads added in v0.102.0

func CanViewPayloads(c echo.Context) bool

CanViewPayloads reports whether the current request may see task and event payloads. API tokens (no tenant-member in context) are unrestricted. OWNER and ADMIN always can.

Types

type AuthZ

type AuthZ struct {
	// contains filtered or unexported fields
}

func NewAuthZ

func NewAuthZ(config *server.ServerConfig) (*AuthZ, error)

func (*AuthZ) Middleware

func (a *AuthZ) Middleware(r *middleware.RouteInfo) echo.HandlerFunc

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL