Browse Source

fix: clear list on user delete to refresh inheritance

pull/7778/head
mertmit 9 months ago
parent
commit
b03138813e
  1. 4
      packages/nocodb/src/models/BaseUser.ts

4
packages/nocodb/src/models/BaseUser.ts

@ -262,8 +262,8 @@ export default class BaseUser {
// delete list cache to refresh list // delete list cache to refresh list
await NocoCache.deepDel( await NocoCache.deepDel(
`${CacheScope.BASE_USER}:${baseId}:${userId}`, `${CacheScope.BASE_USER}:${baseId}:list`,
CacheDelDirection.CHILD_TO_PARENT, CacheDelDirection.PARENT_TO_CHILD,
); );
return response; return response;

Loading…
Cancel
Save