mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-03 21:02:40 +02:00
fix: restore RBAC cache keys after rebase
This commit is contained in:
parent
78035a6e90
commit
66a4674360
1 changed files with 7 additions and 0 deletions
|
|
@ -45,4 +45,11 @@ export const cacheKeys = {
|
|||
user: {
|
||||
current: () => ["user", "me"] as const,
|
||||
},
|
||||
roles: {
|
||||
all: (searchSpaceId: string) => ["roles", searchSpaceId] as const,
|
||||
byId: (searchSpaceId: string, roleId: string) => ["roles", searchSpaceId, roleId] as const,
|
||||
},
|
||||
permissions: {
|
||||
all: () => ["permissions"] as const,
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue