Alex Holliday
5c5f84a5b2
user service tests
2026-04-10 10:59:48 -07:00
ashu130698
1e6cf858c4
fix: address PR review feedback and add Zod validation constraints
2026-03-20 23:39:38 +05:30
ashu130698
88a39fe502
Merge branch 'upstream/develop' into feat/bulk-edit-notifications and resolve conflicts
2026-03-12 13:17:40 +05:30
Alex Holliday
2fdd5a72f0
type authController correctly, update services accordingly
2026-03-10 11:18:59 -07:00
ashu130698
f9a4659cb2
Merge branch 'develop' into feat/bulk-edit-notifications
2026-03-10 23:27:01 +05:30
ashu130698
0fc338db2f
refactor(backend): move notifications update endpoint to monitors route and handle security feedback
2026-03-10 22:57:55 +05:30
Alex Holliday
77af9d2e93
FE UI, userService type fix
2026-03-09 11:32:01 -07:00
Tobias Bruckert
978dc4cda6
Merge branch 'develop' into feature/teams-notification-channel
2026-03-09 08:33:36 +11:00
gorkem-bwl
82998a7795
feat: add ability to remove team members
...
## Changes
- Add DELETE /api/v1/auth/users/:userId endpoint (admin + superadmin)
- Add deleteUserById service method with role hierarchy enforcement
- Superadmins can remove admins and regular users
- Admins can only remove regular users
- No one can remove superadmins, demo users, or themselves via this endpoint
- Add "Remove user" button with confirmation dialog on edit user page
- Allow admins to view user details and access the edit user page
- Add i18n strings for remove user button and confirmation dialog
## Access control
- superadmin -> can remove admin, user
- admin -> can remove user only
- admin cannot remove superadmin or other admins (enforced on both backend and frontend)
2026-03-06 14:18:27 -05:00
Alex Holliday
69e98a51ec
resolve ts errors
2026-03-06 09:14:12 -08:00
tobias.bruckert@mcon-group.com
08fd09f59b
fix build errors
2026-03-06 19:48:19 +11:00
Alex Holliday
bd32854c7a
cleanup services
2026-03-05 14:46:28 -08:00
Alex Holliday
8b7fd826b3
createUser endpoint
2026-02-09 18:49:31 +00:00
Alex Holliday
2e3b32462f
remove mongo hash middleware
2026-02-07 21:15:58 +00:00
Alex Holliday
5152336591
fix validation, derrive teamID and Roles from tokens
2026-02-06 23:31:07 +00:00
Alex Holliday
78b920aaf6
missing fields
2026-02-06 23:07:17 +00:00
Alex Holliday
b511cde849
remove final js
2026-01-22 21:49:49 +00:00
Alex Holliday
5b96075c03
build errs
2026-01-21 11:56:05 -08:00
Alex Holliday
36e02e0a9a
team -> ts
2026-01-21 11:46:49 -08:00
Alex Holliday
4957209307
purge string service
2026-01-20 23:06:23 +00:00
Alex Holliday
ba35230919
remove db references from userService
2026-01-17 19:08:12 +00:00
Alex Holliday
b47f3710fe
refactor user-service
2026-01-16 22:41:12 +00:00
Alex Holliday
9c92542653
recovery
2026-01-16 22:03:35 +00:00
Alex Holliday
cb5b8e0673
update user refactor
2026-01-16 20:29:54 +00:00
Alex Holliday
64dc381e0f
separate user from token
2026-01-16 19:14:03 +00:00
Alex Holliday
9255500bfc
remove db module
2026-01-15 20:55:01 +00:00