Skip to content

feat: version-aware User Account Management API for TAK Server 5.8 - #10

Merged
sgofferj merged 2 commits into
mainfrom
feat/um-version-compat
Aug 25, 2026
Merged

sgofferj merged 2 commits into
mainfrom
feat/um-version-compat

Conversation

@sgofferj

Copy link
Copy Markdown
Owner

5.8 relocated the user-management endpoints from /user-management/api to /Marti/api/user-management/api. The wrapper now detects the base path from the server's version string on first use (cached), with an optional user_management_base override on the Server instance and a safe legacy fallback when detection fails.

Adds HomeApi.is_ldap_admin() for the new-in-5.8 isLdapAdmin endpoint (returns False on 5.7 where it does not exist, live-guarded).

5 new unit tests covering detection/caching/fallback/override; live tests verify prefix detection on the real 5.7 server.

sgofferj added 2 commits August 25, 2026 15:35
5.8 relocated the user-management endpoints from /user-management/api
to /Marti/api/user-management/api. The wrapper now detects the base
path from the server's version string on first use (cached), with an
optional user_management_base override on the Server instance and a
safe legacy fallback when detection fails.

Adds HomeApi.is_ldap_admin() for the new-in-5.8 isLdapAdmin endpoint
(returns False on 5.7 where it does not exist, live-guarded).

5 new unit tests covering detection/caching/fallback/override; live
tests verify prefix detection on the real 5.7 server.
IN and OUT are from the group's point of view: group_list_in holds
groups a user may send into (writer side), group_list_out groups whose
traffic they receive (reader side). Fixes reversed readers/writers
test fixtures and documents the semantics in all affected docstrings.
@sgofferj
sgofferj merged commit 749c41a into main Aug 25, 2026
12 checks passed
@sgofferj
sgofferj deleted the feat/um-version-compat branch August 25, 2026 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant