SurfSense/surfsense_web/atoms
guangyang1206 a66d65a835 refactor: extract shared hasPermission helper (MODSetter/SurfSense#1366)
- Add canPerform() helper function to members-query.atoms.ts
- Add usePermissionGate() hook for convenience
- Update team-content.tsx to use canPerform()
- Update roles-manager.tsx to use canPerform()
- Eliminates duplicated permission check logic
- Centralizes permission policy in one location

Fixes #1366
2026-05-22 12:08:05 +08:00
..
agent refactor: replace action log sheet with dialog component and update related references 2026-05-18 01:34:41 +05:30
agent-tools refactor: improve styling of MemberRow component and clean up agent tools imports 2026-05-19 17:41:48 +05:30
auth
chat chore: fix linting 2026-05-12 04:00:04 +05:30
chat-comments fix(web): suppress global error toast on mutations that own their toast UX 2026-05-15 23:43:30 +08:00
citation
connector-dialog
connectors
documents
editor feat: improve document editor panel behavior 2026-05-20 02:02:59 +05:30
folder-sync
image-gen-config fix(web): suppress global error toast on mutations that own their toast UX 2026-05-15 23:43:30 +08:00
inbox
invites fix(web): suppress global error toast on mutations that own their toast UX 2026-05-15 23:43:30 +08:00
layout feat: add TeamPage component and remove TeamDialog for improved team management interface 2026-05-19 11:40:06 +05:30
logs fix(web): invalidate all log cache keys on log mutations 2026-05-13 20:59:08 +08:00
members refactor: extract shared hasPermission helper (MODSetter/SurfSense#1366) 2026-05-22 12:08:05 +08:00
new-llm-config fix(web): suppress global error toast on mutations that own their toast UX 2026-05-15 23:43:30 +08:00
permissions
prompts fix(web): suppress global error toast on mutations that own their toast UX 2026-05-15 23:43:30 +08:00
public-chat-snapshots fix(web): suppress global error toast on mutations that own their toast UX 2026-05-15 23:43:30 +08:00
roles fix(web): suppress global error toast on mutations that own their toast UX 2026-05-15 23:43:30 +08:00
search-spaces
tabs refactor(tabs): update default chat tab title for clarity; adjust TabBar styles for improved layout and hover effects 2026-05-03 23:30:36 +05:30
ui
user
vision-llm-config fix(web): suppress global error toast on mutations that own their toast UX 2026-05-15 23:43:30 +08:00