Skip to content

perf(permissions): small cache for space role and page permissions check - #2208

Merged
Philipinho merged 1 commit into
mainfrom
permission-cache
May 14, 2026
Merged

Philipinho merged 1 commit into
mainfrom
permission-cache

Conversation

@Philipinho

Copy link
Copy Markdown
Member

Wrap SpaceMemberRepo.getUserSpaceRoles and PagePermissionRepo.canUserEditPage in a Redis-backed cache (5s TTL) to dedupe repeated permission checks within request bursts.

- Wrap SpaceMemberRepo.getUserSpaceRoles and PagePermissionRepo.canUserEditPage
  in a Redis-backed cache (5s TTL) to dedupe repeated permission checks within
  request bursts.
@Philipinho
Philipinho merged commit f758091 into main May 14, 2026
4 checks passed
Yundi339 pushed a commit to Yundi339/docmost that referenced this pull request Jun 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant