Repository navigation
Expand file tree
/
Copy pathfeature-flags.example.ini
More file actions
57 lines (50 loc) · 1.98 KB
/
Copy pathfeature-flags.example.ini
File metadata and controls
57 lines (50 loc) · 1.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
; Persistent feature-flag configuration for Rolnopol.
;
; Copy this file to `feature-flags.ini` in the project root, set the flags you
; care about, and they survive restarts, "Reset to defaults" on the Feature Flags
; page, and even a full database restore — because this file is not a database.
;
; cp feature-flags.example.ini feature-flags.ini
;
; Precedence: code defaults -> data/feature-flags.json -> feature-flags.ini
;
; What happens on startup (mode = enforce, the default):
; 1. the values below are seeded into data/feature-flags.json
; 2. they are re-applied on every read, so the app cannot drift away from them
; 3. the Feature Flags page marks them "Pinned" and disables their toggles
; 4. a PATCH/PUT that tries to change one is rejected with HTTP 409
; 5. the whole override set is logged as WARN on the console and on /backend.html
;
; Under NODE_ENV=test this file is ignored completely so the test suite keeps
; full control of the flags.
[settings]
; enforce — seed at boot AND override on every read; pinned flags are read-only (default)
; seed — seed at boot only; the app owns the value afterwards
; off — parse the file for reporting but never apply it
mode = enforce
; Accepted values everywhere below: true/false, 1/0, on/off, yes/no (case-insensitive)
[flags]
; --- modules ---
; crewOfficeEnabled = true
; agriAcademyEnabled = true
; farmStayEnabled = false
; greenhouseControlRoomEnabled = false
; taskLabEnabled = false
; --- communication ---
; messengerEnabled = false
; assistantChatEnabled = false
; notificationCenterEnabled = false
; --- monitoring ---
; prometheusMetricsEnabled = false
; syntheticMonitoringEnabled = false
; --- pages & UI ---
; rolnopolMapEnabled = true
; weatherPageEnabled = false
; cookieConsentBannerEnabled = false
; homeModernRestyleEnabled = false
; --- security ---
; twoFactorAuthEnabled = false
; registrationStrongPasswordEnabled = false
; --- AI agents (WebMCP) ---
; webMcpEnabled = true
; webMcpDemoLoginEnabled = true