|
|
@ -174,7 +174,7 @@ export default class RedisMockCacheMgr extends CacheMgr { |
|
|
|
let getKey = `${this.prefix}:${scope}:${o.id}`; |
|
|
|
let getKey = `${this.prefix}:${scope}:${o.id}`; |
|
|
|
// special case - MODEL_ROLE_VISIBILITY
|
|
|
|
// special case - MODEL_ROLE_VISIBILITY
|
|
|
|
if (scope === CacheScope.MODEL_ROLE_VISIBILITY) { |
|
|
|
if (scope === CacheScope.MODEL_ROLE_VISIBILITY) { |
|
|
|
getKey = `${this.prefix}:${scope}:${o.id}:${o.role}`; |
|
|
|
getKey = `${this.prefix}:${scope}:${o.fk_view_id}:${o.role}`; |
|
|
|
} |
|
|
|
} |
|
|
|
// set Get Key
|
|
|
|
// set Get Key
|
|
|
|
log(`RedisMockCacheMgr::setList: setting key ${getKey}`); |
|
|
|
log(`RedisMockCacheMgr::setList: setting key ${getKey}`); |
|
|
|