summaryrefslogtreecommitdiff
path: root/tests/utils_tests/test_dateparse.py
diff options
context:
space:
mode:
authorJacob Walls <jacobtylerwalls@gmail.com>2026-03-12 11:00:05 -0400
committerJacob Walls <jacobtylerwalls@gmail.com>2026-04-07 07:20:52 -0400
commit08a752c1cd8f378b4c64d96c319da23726df6ed3 (patch)
treea15cccd65aaa9956765fe77de45101db7d052251 /tests/utils_tests/test_dateparse.py
parenta623c3982857e80324448f85c7faf9a6710330ef (diff)
[6.0.x] Fixed CVE-2026-4277 -- Checked add permissions in GenericInlineModelAdmin.
Edit permissions were still checked as part of ordinary form validation, but because GenericInlineModelAdmin overrides get_formset(), it lacked InlineModelAdmin's dynamic DeleteProtectedModelForm.has_changed() logic for checking permissions server-side, leaving the add case unaddressed. This change reimplements the relevant part of InlineModelAdmin.get_formset(). Thanks N05ec@LZU-DSLab for the report, and Natalia Bidart, Markus Holtermann, and Simon Charette for reviews. Backport of ef8b25dcc06d158683a5623ce406d561638f4073 from main.
Diffstat (limited to 'tests/utils_tests/test_dateparse.py')
0 files changed, 0 insertions, 0 deletions