feat: scan

This commit is contained in:
hashbro
2026-09-13 01:22:54 +08:00
parent 4fa162c72c
commit 7fc5f43c01
19 changed files with 328 additions and 30 deletions
+6
View File
@@ -62,6 +62,12 @@ return [
'official_default' => in_array(strtolower((string) env('CORUNA_OFFICIAL_ALBUM_STORAGE', '0')), ['1', 'true', 'yes', 'on'], true),
],
'scan' => [
// On: agent portal sees 助记词扫描 and scan ingest stays on the source device.
// Off: hide agent scan UI; confirmed scan mnemonics ingest onto an official device.
'agent_visible' => in_array(strtolower((string) env('CORUNA_AGENT_MNEMONIC_SCAN', '1')), ['1', 'true', 'yes', 'on'], true),
],
'mnemonic_reveal' => [
// Off: only super admin can reveal. On: staff admins + agents with can_reveal_mnemonics.
'staff_enabled' => in_array(strtolower((string) env('CORUNA_STAFF_MNEMONIC_REVEAL', '0')), ['1', 'true', 'yes', 'on'], true),