fix(admin): gate overpay certificate block by settings permission

(cherry picked from commit 28068bbe45221145df3bd580a46e7bd7fce416e9)
This commit is contained in:
Boris Kovalskii
2026-06-11 22:36:35 +10:00
committed by Fringg
parent f52360449b
commit ecc2d45562
5 changed files with 23 additions and 4 deletions

View File

@@ -1638,6 +1638,7 @@
"quickAmountsRemove": "Remove amount {{value}} ₽",
"overpayCertTitle": "mTLS certificate (Overpay)",
"overpayCertValid": "✅ Valid until {{date}}",
"overpayCertExpired": "⚠️ Expired {{date}}",
"overpayCertUnreadable": "⚠️ Certificate cannot be read — wrong passphrase or corrupted file",
"overpayCertMissing": "❌ Certificate not uploaded",
"overpayCertEnvLockedPath": "Path is set via the OVERPAY_P12_PATH environment variable — the database value is not applied",