acl

package
v0.0.0-...-fb8c843 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2025 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(cfg *config.Config)

Register registers all the acls from the config

func Resolve

func Resolve(path string) []string

Resolve takes a path to match and returns a slice of strings containing the groups

Types

type ACL

type ACL struct {
	Match  *regexp.Regexp
	Groups []string
}

ACL contains a regular expression and mdb groups to map

Jump to

Keyboard shortcuts

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