Игорь Надеин
298524ecc6
fix: use PositionService instead of DirectoryService for position groups
...
Problem:
- When assigning/changing position, got 502 error
- Error: 'DirectoryService' object has no attribute '_ensure_position_group'
- Method was called on wrong service class
Root Cause:
DirectoryService doesn't have _ensure_position_group method.
This method exists in PositionService (line 190 of position_service.py).
Solution:
- Import and use PositionService for position-specific operations
- Keep DirectoryService for general group operations (add/remove members)
- Use pos_svc._ensure_position_group() to create/get position group DN
- Use dir_svc for add_group_members/remove_group_members
Now position assignment/changes work correctly through LDAP sync.
2025-12-08 13:29:53 +03:00
..
2025-12-08 12:41:56 +03:00
2025-09-09 17:55:15 +03:00
2025-11-29 16:41:03 +03:00
2025-12-05 16:18:11 +03:00
2025-12-03 12:50:10 +03:00
2025-11-30 11:20:05 +03:00
2025-12-05 13:07:57 +03:00
2025-12-08 13:29:53 +03:00
2025-12-08 10:48:59 +03:00
2025-12-05 10:56:23 +03:00
2025-11-20 09:00:55 +03:00
2025-07-30 08:15:53 +03:00
2025-11-20 09:00:55 +03:00
2025-11-20 09:00:55 +03:00
2025-12-03 12:50:10 +03:00
2025-12-03 12:59:12 +03:00
2025-12-05 14:53:52 +03:00
2025-09-11 17:56:33 +03:00
2025-12-08 12:29:44 +03:00
2025-12-08 13:09:55 +03:00
2025-12-03 07:21:25 +03:00
2025-07-30 08:15:53 +03:00
2025-10-28 08:54:38 +03:00
2025-12-01 14:19:58 +03:00
2025-12-01 14:19:58 +03:00
2025-11-29 16:41:03 +03:00
2025-12-02 14:44:48 +03:00
2025-11-20 18:52:29 +03:00
2025-12-01 14:19:58 +03:00
2025-10-28 08:54:38 +03:00
2025-12-01 14:19:58 +03:00
2025-12-01 14:19:58 +03:00
2025-12-02 17:39:09 +03:00
2025-10-28 08:54:38 +03:00
2025-10-28 08:54:38 +03:00
2025-11-20 09:00:55 +03:00
2025-09-03 17:17:44 +03:00
2025-11-20 18:52:29 +03:00
2025-11-20 09:00:55 +03:00
2025-07-30 08:15:53 +03:00
2025-12-01 14:19:58 +03:00
2025-12-01 14:19:58 +03:00
2025-09-12 17:04:47 +03:00
2025-11-20 18:52:29 +03:00
2025-12-01 14:19:58 +03:00
2025-12-01 14:19:58 +03:00
2025-10-28 08:54:38 +03:00
2025-12-03 07:21:25 +03:00
2025-11-21 12:57:01 +03:00
2025-12-02 17:39:09 +03:00
2025-11-20 18:52:29 +03:00
2025-11-30 12:25:19 +03:00
2025-12-05 16:25:17 +03:00
2025-11-30 12:25:19 +03:00
2025-11-21 15:46:02 +03:00
2025-12-05 16:18:45 +03:00
2025-12-05 16:18:45 +03:00
2025-12-01 14:19:58 +03:00
2025-12-03 13:48:31 +03:00
2025-11-20 18:52:29 +03:00
2025-11-20 18:52:29 +03:00
2025-11-20 18:52:29 +03:00
2025-12-01 14:19:58 +03:00
2025-12-02 17:39:09 +03:00
2025-12-02 17:39:09 +03:00
2025-11-21 13:35:38 +03:00
2025-12-01 14:19:58 +03:00
2025-12-03 07:21:25 +03:00
2025-12-03 07:21:25 +03:00
2025-12-01 14:19:58 +03:00