diff --git a/core/api/services/authorisations/authorisations.service.js b/core/api/services/authorisations/authorisations.service.js index 6f70ecdc0..297fbac14 100644 --- a/core/api/services/authorisations/authorisations.service.js +++ b/core/api/services/authorisations/authorisations.service.js @@ -1,9 +1,10 @@ import _ from 'lodash' -import { LRUCache } from 'lru-cache' +import lruCache from 'lru-cache' import makeDebug from 'debug' import { defineAbilities } from '../../../common/permissions.js' const debug = makeDebug('kdk:core:authorisations:service') +const { LRUCache } = lruCache // Global key to store abilities in cache for anonymous users const ANONYMOUS_USER = 'anonymous'