RephiWeb.UserController (Rephi v0.1.0)
View SourceController for user management endpoints.
This controller handles user-related operations including listing all users. All actions require authentication and specific permissions.
Endpoints
GET /api/users
- List all users (requires admin role)
Permission Requirements
All actions require authentication and admin role.
Summary
Functions
Deletes a user.
Gets roles for a specific user.
Lists all users in the system.
Shows a specific user by ID.
Updates a user.
Functions
Deletes a user.
Permanently removes a user from the system. Only accessible by users with admin role.
Gets roles for a specific user.
Returns a list of roles assigned to the user. Only accessible by users with admin role.
Lists all users in the system.
Returns a list of all users with their roles and permissions. Only accessible by users with admin role.
Shows a specific user by ID.
Returns detailed information about a user including roles and permissions. Only accessible by users with admin role.
Updates a user.
Allows updating user information. Only accessible by users with admin role.