mirror of https://github.com/docusealco/docuseal
feat: externalize storage config via environment variables (v1.5.0) (#14)
* feat: externalize storage config via environment variables (v1.5.0) - Add storage_configured?, storage_service, storage_settings to ExternalConfig - Show read-only banner and disable form when S3/GCS/Azure env vars are set - Keep storage link visible in settings nav when externally configured - Add 8 RSpec tests for storage config detection and settings * fix: add server-side guard to reject storage form POST when env-configured Addresses Devin Review feedback: the disabled fieldset was client-side only. Now StorageSettingsController#create redirects with an alert when ExternalConfig.storage_configured? is true. * fix: use i18n key for storage read-only banner instead of hardcoded string * fix: use conditional fieldset tags to avoid BetterHtml interpolation error --------- Co-authored-by: Bob Develop <developbob50@gmail.com>pull/639/head
parent
552a42b61e
commit
b83d5b0b04
Loading…
Reference in new issue