Files
ServerKit/frontend/src
Juan Denis e4d35bffae feat(files): hide File Manager nav when files.read is revoked
Now that every /api/v1/files endpoint enforces the files.read
permission, a user with that permission revoked would only hit 403
toasts. Filter the Files item out of the sidebar and the command
palette (usePaletteAuthz) instead, using the resolved permissions
already returned by /api/v1/auth/me.
2026-07-26 15:40:22 -04:00
..