def clear_restricted_collections_cache(mapper, connection, target): """Clear cache after modification of access rights.""" cache.delete_memoized('get_restricted_collections')
def clear_collection_names_cache(mapper, connection, target): """Clear caches connected to Collectionname table.""" cache.delete_memoized('get_i18n_collection_names')