Issue Feature Closed

#108653Introduction of database storage for forms

Josua Vogel 01/16/26, 10:52 updated 03/31/26, 08:59

Description

*Problem / Motivation*
Currently, form definitions can only be stored in the file system (FAL or extension paths). This creates limitations for new features like workspaces or translations.

Requirements

_Functional:_
- Form definitions can be stored in the database table `form_definition`
- Database storage is only available when `allowedPages` is configured
- Editors can choose between storage options in the Form Manager
- Existing file system-based forms remain fully functional

Technical:
- Implementation of a `DatabaseStorageAdapter` following the Chain of Responsibility pattern
- Implementation of the `StorageAdapterInterface`
- New configuration option `allowedPages` in the PersistenceManager
- Automatic storage adapter selection based on persistence identifier
- Backend permissions for configured pages are enforced

Configuration

persistenceManager:
  allowedPages:
    - 1
    - 23

Reviews 6