rbacconf

package
v1.28.3 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Enabled bool     `json:"enabled" yaml:"enabled"`
	Viewers []string `json:"viewers" yaml:"viewers"`
	Admins  []string `json:"admins" yaml:"admins"`
}

Config makes every subject on the list an admin, whereas everyone else has no rights whatsoever

func (Config) Validate

func (c Config) Validate() error

Validate admin list config for viability, can be called from the central config package

Jump to

Keyboard shortcuts

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