authorization

package
v0.0.0-...-e66ef0e Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2026 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action int
const (
	Allow Action = iota
	Deny
)

type Resource

type Resource int
const (
	CredentialService Resource = iota
)

type Rule

type Rule struct {
	NodeID   models.NodeID
	Resource Resource
	Action   Action
}

Rule represents a rule that can be applied to Nodes while trying to access a Resource. Right now, only the CredentialService resource is supported.

Jump to

Keyboard shortcuts

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