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:
@@ -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
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user