Files
directus/api
Hannes Küttner 92640bd6a7 Fix caching for dynamic variables (#23321)
* Don't cache dynamic values in permissions, but only the actual DB result

* Cache filter context based on the requested fields and the dynamic variable value in the "normal" cache

* Remove caching from `fetchAllowedCollections`

* Remove caching from `fetchAllowedFieldMap`

* Remove caching from `fetchAllowedFields`

* Remove caching from `fetchInconsistentFieldMap`

* Add `bypassMinimalAppPermissions` to `fetchRawPermissions` cache key

* Reduce keys in `fetchRawPermissions` accountability option

* Add changeset

* Add fields to filter context cache key again

---------

Co-authored-by: daedalus <44623501+ComfortablyCoding@users.noreply.github.com>
2024-08-14 08:24:40 -04:00
..