Skip to content

PRG-01: Admin backend bundle (from #330 #331 #333)#364

Open
nap-liu wants to merge 3 commits intodataelement:mainfrom
nap-liu:prg/01-admin-backend__from-p330-p331-p333
Open

PRG-01: Admin backend bundle (from #330 #331 #333)#364
nap-liu wants to merge 3 commits intodataelement:mainfrom
nap-liu:prg/01-admin-backend__from-p330-p331-p333

Conversation

@nap-liu
Copy link
Copy Markdown

@nap-liu nap-liu commented Apr 10, 2026

This regrouped PR combines the original changes from:\n- #330 company-delete-cascade\n- #331 seed-agents-on-company-create\n- #333 admin-user-profile-editing\n\nScope: backend admin data/model/service updates only.

nap.liu and others added 3 commits April 10, 2026 11:28
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add PATCH /api/users/{user_id}/profile endpoint that accepts display_name,
email, primary_mobile, is_active, and new_password fields. Only accessible
by platform_admin (any user) or org_admin (same-tenant, non-platform-admin
users). Enrich org members listing with user_display_name and phone from
the User table via LEFT JOIN.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@wisdomqin
Copy link
Copy Markdown
Contributor

Thanks for the contribution!

The tenant/company deletion feature has already been implemented on our side, so we do not plan to merge that part from this PR.

For the automatic creation of default agents when a new company is created, this is a direction we may consider adding ourselves in a future update, but we would like to design and integrate it separately to fit the current tenant/agent initialization flow.

Thanks again for taking the time to work on this and share the implementation.

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.

2 participants