User permissions

Overview
The role/permission page manages per-user permissions.
- Route:
/users/roles(protected) - Source:
front/src/pages/UserPermissions.tsx
APIs and data flow
The page loads user lists using GET /users?page=1&limit=1000, may load a selected user with GET /users/:id, and submits permission changes with PUT /users/:id/permissions.
Permission names and levels are represented in frontend types and utilities. Server-side access enforcement and validation require backend verification.
States and actions
Refer to UserPermissions.tsx for specific selection and save behavior. Source: front/src/pages/UserPermissions.tsx, front/src/services/api/userService.ts, front/src/utils/permissions.ts.
See Users API.