Releases: isap-ou/statamic-sensitive-form-fields
Releases · isap-ou/statamic-sensitive-form-fields
1.1.0
- [new] PRO:
sensitive-fields:rekey— re-encrypts sensitive field values from an oldAPP_KEYto the current one (supports--old-key,--form,--dry-run) - [new] PRO: per-form permission granularity —
view decrypted {form-handle} sensitive fieldsgrants access to a single form; the globalview decrypted sensitive fieldsacts as a wildcard (backward-compatible)
1.0.0
- [new] Per-field
sensitivetoggle on Text and Textarea fieldtypes in the form blueprint editor - [new] Sensitive field values are encrypted at rest using Laravel's
Cryptwith anenc:v1:prefix — no double encryption - [new] Fields are encrypted automatically on form submission via a
SubmissionSavinglistener - [new] Decryption on read via a
DecryptingSubmissionRepositorydecorator — coversfind(),whereForm(),all() - [new] Decryption on read via a
DecryptingSubmissionQueryBuilderdecorator — covers the CP submissions list (which usesquery()) - [new] Compatible with both Stache (flat-file) and Eloquent driver
- [new] Addon setting to enable or disable encryption globally
- [new] Addon setting to configure the mask string shown to unauthorized users
- [new] PRO mode: permission-based access control and masking; activated automatically when the PRO addon is installed
- [new] FREE mode: all CP users see decrypted values; data always encrypted at rest
- [new] Translations (en) for field toggle, permission label, and settings
- [new] PRO:
sensitive-fields:encrypt-existing— bulk-encrypts plaintext sensitive field values in all existing submissions (idempotent, supports--formfilter and--dry-run) - [new] PRO:
sensitive-fields:decrypt-existing— bulk-decrypts encrypted sensitive field values in all existing submissions (idempotent, supports--formfilter and--dry-run) - [new] Statamic Editions support — declare
"editions": ["free", "pro"]incomposer.json; PRO mode detected viaAddon::edition()(set viaconfig/statamic.phpor the Statamic Marketplace)