Arches is a web platform for creating, managing, & visualizing geospatial data. Arches was inspired by the needs of the Cultural Heritage community, particularly the widespread need of organizations to build & manage cultural heritage inventories
GNU Affero General Public License v3.0
216
stars
144
forks
source link
`get_resource_types_by_perm` should fully leverage caching #11217
get_resource_types_by_perm can get called many times when assigning permissions to search results. It calls get_nodegroups_by_perm which does leverage caching, but then proceeds to do an ORM query every single time it's called.
get_resource_types_by_perm
can get called many times when assigning permissions to search results. It callsget_nodegroups_by_perm
which does leverage caching, but then proceeds to do an ORM query every single time it's called.