authorization

package
v0.4.27 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: BSD-3-Clause-Clear Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const EntityIDPrefix string = "entity_idx_"

Variables

This section is empty.

Functions

Types

type AuthorizationService

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

func (AuthorizationService) IsReady added in v0.4.2

func (as AuthorizationService) IsReady(ctx context.Context) error

TODO: Not sure what we want to check here?

type Config added in v0.4.7

type Config struct {
	// Custom Rego Policy To Load
	Rego CustomRego `mapstructure:"rego"`
}

type CustomRego added in v0.4.10

type CustomRego struct {
	// Path to Rego file
	Path string `mapstructure:"path" json:"path"`
	// Rego Query
	Query string `mapstructure:"query" json:"query" default:"data.opentdf.entitlements.attributes"`
}

Jump to

Keyboard shortcuts

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