moiseenkov opened a new pull request, #45749:
URL: https://github.com/apache/airflow/pull/45749

   The problem resolved in this PR:
   - `max_form_parts` 
(https://flask.palletsprojects.com/en/stable/api/#flask.Request.max_form_parts) 
is not configurable in Airflow web server (1000 is the default value).
   - `max_form_parts` is relevant for a "role edit" form in Airflow UI.
   - Size of the role (number of permissions) contributes to the number of form 
parts in POST request generated by Airflow UI.
   - There are real-life cases (roles with hundreds of permissions) where 
max_form_parts is exceeded and blocks updating roles through the Airflow UI.
   
   In order to overcome this limitation, two more webserver config options were 
introduced:
   - `[webserver]max_form_parts = 1000`
   - `[webserver]max_form_memory_size = 500000`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to