Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

feat(settings): add DATA_UPLOAD_MAX_NUMBER_FIELDS to env #805

Merged
merged 1 commit into from
Nov 23, 2021

Conversation

trowik
Copy link
Member

@trowik trowik commented Nov 11, 2021

This value should be customizable as there are big projects that have a lot of tasks, tasks and project assignees. In these cases the amount of fields exceeds the default value of 1000, which makes saving any changes on that project impossible.
I'll add the variable to our helm chart as well, so we can change it at any time.

Copy link
Member

@winged winged left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, however setting this to an unreasonable large amount can make us vulnerable to DOS (in theory). But given that we allow authenticated requests only anyway, we could also just set it to None and have Django skip the field count check

@trowik trowik merged commit 326d3e4 into adfinis:master Nov 23, 2021
@trowik trowik deleted the data-upload-max-number-fields branch December 14, 2022 08:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants