feat: Enhance admin user management system
- Add admin override capability to DELETE /api/auth/account endpoint - Move /api/auth/users to admin-only with complete user fields (first_name, last_name, role, theme) - Consolidate Bruno requests: remove duplicate List Users (Admin), merge Delete Account functionality - Update all documentation to reflect enhanced capabilities - Implement pgx 5 standards compliance with proper error handling BREAKING CHANGES: - /api/auth/users endpoint now requires admin role (was previously accessible) - DELETE /api/auth/account accepts optional user_id parameter for admin deletion
This commit is contained in:
@@ -2,6 +2,7 @@ vars {
|
||||
base_url: http://localhost:8765
|
||||
ebookid: 02a535a4-19f8-43fa-b81b-89a226d19dd9
|
||||
fakebookid: 123e4567-e89b-12d3-a456-426614174000
|
||||
user_id: c51118f0-31fc-4c32-827d-517d6599bf21
|
||||
}
|
||||
vars:secret [
|
||||
token
|
||||
|
||||
Reference in New Issue
Block a user