SurfSense/surfsense_web/app/dashboard
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
..
[search_space_id] refactor: extract shared hasPermission helper (MODSetter/SurfSense#1366) 2026-05-22 12:08:05 +08:00
error.tsx chore: ran linting 2026-05-19 21:02:07 +05:30
layout.tsx chore: linting 2026-04-07 03:10:06 -07:00
loading.tsx fix: remove message from loading UI 2026-01-27 15:28:30 +05:30
page.tsx perf: replace useSearchParams() with window.location.search in effects 2026-04-02 02:45:46 +05:30