feat(core): default User Management to current account context

- Updated load_ae_obj_li__user to support for_obj_id filtering.
- Updated create_ae_obj__user to support account_id for new users.
- Updated User Management page to default to current account_id for listing and creation.
This commit is contained in:
Scott Idem
2026-01-15 14:40:09 -05:00
parent df9e14d896
commit 111c828a04
2 changed files with 40 additions and 7 deletions

View File

@@ -14,6 +14,7 @@
loading = true;
user_li = await load_ae_obj_li__user({
api_cfg: $ae_api,
for_obj_id: $ae_loc.account_id,
qry_str: qry_str || null,
enabled: qry_enabled as any,
log_lvl: 1
@@ -36,6 +37,7 @@
await create_ae_obj__user({
api_cfg: $ae_api,
account_id: $ae_loc.account_id,
data_kv: { username, email, enable: true },
log_lvl: 1
});