orgfeatures

package
v0.19.1236 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2026 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package orgfeatures holds deployment-wide org feature overrides. It is a leaf package so the config loader can populate it and GORM hooks, which have no access to the config object, can read it.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Auto added in v0.19.1231

func Auto() map[string]bool

Auto returns flags this deployment turns on for newly created orgs.

func Forced

func Forced() map[string]bool

Forced returns the flags this deployment pins on for every org.

func IsForced

func IsForced(name string) bool

IsForced reports whether the flag is pinned on for every org.

func SetAuto added in v0.19.1231

func SetAuto(csv string)

SetAuto parses the comma-separated auto_enabled_features config value. These are stored true on org create and can still be toggled off.

func SetForced

func SetForced(csv string)

SetForced parses the comma-separated forced_enabled_features config value.

Types

This section is empty.

Jump to

Keyboard shortcuts

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