fix: restore RBAC cache keys after rebase

This commit is contained in:
CREDO23 2025-12-16 09:16:41 +00:00
parent 78035a6e90
commit 66a4674360

View file

@ -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,
},
};