Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attributes ¶
Attributes is input for authority to make decision. It can be extended in future if required auth on resources like WorkflowType and TaskList
type Authorizer ¶
type Authorizer interface {
Authorize(ctx context.Context, attributes *Attributes) (Result, error)
}
Authorizer is an interface for authorization
func NewNopAuthorizer ¶
func NewNopAuthorizer() Authorizer
NewNopAuthorizer creates a no-op authority
Click to show internal directories.
Click to hide internal directories.