mode

package
v0.36.6 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2025 License: Unlicense Imports: 1 Imported by: 0

Documentation

Overview

Package mode provides a global ACL mode indicator that can be read by packages that need to know the current access control mode without creating circular dependencies.

Index

Constants

This section is empty.

Variables

View Source
var ACLMode atomic.String

ACLMode holds the current ACL mode as a string. This is set by the ACL package when configured and can be read by other packages (like database) to adjust their behavior.

Functions

func IsOpen

func IsOpen() bool

IsOpen returns true if the ACL mode is "none" (open relay mode). In open mode, security filtering (expiration, deletion, privileged events) should be disabled.

Types

This section is empty.

Source Files

  • mode.go

Jump to

Keyboard shortcuts

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