SavedViewController
Saved grid views are inherently per-user personalization, not a privileged resource: every endpoint is scoped to the caller's own userId, so authentication alone is sufficient and no additional @PreAuthorize permission gate applies.
| Base path | /api/saved-views |
| Module | Platform Misc |
| Endpoints | 3 |
| OpenAPI tag | Saved Views |
| Source | backend/src/main/java/com/motorph/payroll/controller/SavedViewController.java |
Endpoints
| Method | Path | Requires | Handler |
|---|---|---|---|
GET | /api/saved-views | Any authenticated user | list() |
POST | /api/saved-views | Any authenticated user | save() |
DELETE | /api/saved-views/{id} | Any authenticated user | delete() |
Call chain
Dependencies
Constructor-injected by Lombok's @RequiredArgsConstructor: SavedViewService.
Tables reached
| Entity | Table | Tenant-scoped |
|---|---|---|
| SavedView | saved_view | Yes |
| User | users | — |
Generated page
This page is rebuilt from the source on every docs build by docs-site/scripts/gen-code-wiki.mjs. Editing it has no effect — change the code, or, if what you want to say is prose, write it in docs/.