resolver

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2023 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DANGER_NO_AUTH added in v1.16.0

type DANGER_NO_AUTH struct{}

DANGER_NO_AUTH implements an ACL resolver short-circuit authorization in cases where it is handled somewhere else or expressly not required.

func (DANGER_NO_AUTH) ResolveTokenAndDefaultMeta added in v1.16.0

func (DANGER_NO_AUTH) ResolveTokenAndDefaultMeta(string, *acl.EnterpriseMeta, *acl.AuthorizerContext) (Result, error)

ResolveTokenAndDefaultMeta returns an authorizer with unfettered permissions.

type Result

type Result struct {
	acl.Authorizer
	// TODO: likely we can reduce this interface
	ACLIdentity structs.ACLIdentity
}

func (Result) AccessorID

func (a Result) AccessorID() string

func (Result) Identity

func (a Result) Identity() structs.ACLIdentity

func (Result) ToAllowAuthorizer

func (a Result) ToAllowAuthorizer() acl.AllowAuthorizer

Jump to

Keyboard shortcuts

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