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 (Result) Identity ¶
func (a Result) Identity() structs.ACLIdentity
func (Result) ToAllowAuthorizer ¶
func (a Result) ToAllowAuthorizer() acl.AllowAuthorizer
Click to show internal directories.
Click to hide internal directories.