🚩(backend) add DUPLICATE_CHILDREN_FEATURE_ENABLED flag

We want to introduce a feature flag that allows
duplicating documents along with their children when
enabled. We will be able to control not only
frontend side but also backend behavior
regarding document with children duplication.
This commit is contained in:
Anthony LC
2026-09-25 14:06:23 +02:00
parent f0d718fa3e
commit 319383d8ff
9 changed files with 110 additions and 5 deletions
+1
View File
@@ -86,6 +86,7 @@ These are the environment variables you can set for the `impress-backend` contai
| DOCUMENT_IMAGE_MAX_SIZE | Maximum size of document in bytes | 10485760 |
| DOCUMENT_ALL_ENDPOINT_ENABLED | Enable or not the endpoint /api/v1.0/documents/all/ | true |
| DOCUMENT_NB_ACCESSES_CACHE_TIMEOUT | Time, in seconds, the number of accesses for a document stay in cache. | 600 |
| DUPLICATE_CHILDREN_FEATURE_ENABLED | Allow duplicating a document together with its children | true |
| FRONTEND_CSS_URL | To add a external css file to the app | |
| FRONTEND_JS_URL | To add a external js file to the app | |
| FRONTEND_HOMEPAGE_FEATURE_ENABLED | Frontend feature flag to display the homepage | false |