Commit Graph

6 Commits (47fbaeda11b4b685d1f31c4929239adf852582f5)

Author SHA1 Message Date
Holger Brunn 47fbaeda11 [IMP] base_changeset: overhaul security 2022-11-09 11:39:34 +01:00
Holger Brunn 9a21deb571 [IMP] base_changeset: Inhibit creating records with restricted fields too 2022-11-09 11:39:34 +01:00
Holger Brunn 09886ed786 [IMP] base_changeset: Make it impossible to set context key from outside 2022-11-09 11:39:34 +01:00
Stefan Rijnhart 717cb6c944 [FIX] base_changeset: fix caching
ormcache is used to minimize the number of times that the active changeset
rules are quered, but it was still missing in one important place.

In this module's tests, this reduces the number of calls to
`models_to_track_changeset` from 354 to 135 times, and the number of test
queries is reduced from 4069 to 3810.
2022-11-09 11:39:34 +01:00
Dariusz Kubiak 1fc53a4958 [FIX] base_changeset: fix write return type 2022-11-09 11:39:34 +01:00
Andrea c1e3fa0f19 [13.0][ADD] base_changeset 2022-11-09 11:39:34 +01:00