ORE Studio 0.0.4
Loading...
Searching...
No Matches
Public Attributes | List of all members
system_flags_cache Struct Reference

POD containing cached values of well-known system flags. More...

#include <system_flags_cache.hpp>

Collaboration diagram for system_flags_cache:
Collaboration graph

Public Attributes

bool bootstrap_mode = true
 Whether the system is in bootstrap mode.
 
bool user_signups = false
 Whether user self-registration is enabled.
 
bool disable_password_validation = false
 Whether password validation is disabled.
 

Detailed Description

POD containing cached values of well-known system flags.

This struct holds a snapshot of system flag values, typically read from the database at startup or refreshed periodically. It provides fast, lock-free access to flag values without database queries.

Default values match those defined in system_flag_definitions.

Member Data Documentation

◆ bootstrap_mode

bool bootstrap_mode = true

Whether the system is in bootstrap mode.

When true, the system is waiting for the initial admin account. Default: true (matches system_flag_definitions)

◆ user_signups

bool user_signups = false

Whether user self-registration is enabled.

When true, users can create their own accounts. Default: false (matches system_flag_definitions)

◆ disable_password_validation

bool disable_password_validation = false

Whether password validation is disabled.

When true, strict password validation requirements are bypassed. FOR TESTING/DEVELOPMENT ONLY. Default: false (matches system_flag_definitions)