noopauthority

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package noopauthority provides the explicit no-enforcement implementation of port.AuthorityEvaluator for local and demo deployments.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Evaluator

type Evaluator struct{}

Evaluator permits every well-formed request without consulting its capability set. Its use is an explicit composition decision, not a fallback for a missing evaluator.

func New

func New() *Evaluator

New constructs a no-op authority evaluator.

func (*Evaluator) AuthorizeTool

func (*Evaluator) AuthorizeTool(_ context.Context, request port.AuthorityRequest) (port.AuthorityDecision, error)

AuthorizeTool permits a well-formed request. A malformed request is denied so an incomplete request cannot become an authorization bypass in this mode.

Jump to

Keyboard shortcuts

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