mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #6022] [Feature]: Adding the ability to apply additional links and subscriptions to new customers #4169
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#4169
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @bl00dychains on GitHub (Jul 17, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/6022
Is your feature request related to a problem?
I don't consider this a problem, but it's frustrating to manually add an external subscription or link for each user, especially if there are more than 100 users.
Describe the solution you'd like
Please add a separate function for automatically adding external links and subscriptions to new customers
Alternatives you've considered
No response
Concrete use case
For example, a separate button will appear on the "Customers" tab, or a button will be added when you click the "Advanced" button, which allows you to customize the overall behavior of all existing and future subscriptions.
Mockups, screenshots, or examples
Which parts of the panel would this affect?
Frontend (UI / panel pages), Subscription (share links / Clash / JSON)
Are you willing to help?
Before submitting
@github-actions[bot] commented on GitHub (Jul 17, 2026):
This isn't currently possible: external links and external subscriptions can only be added one client at a time, and there is no bulk-assign action and no default/template that gets applied to newly created clients.
Confirmed in source:
frontend/src/pages/clients/ClientFormModal.tsx), saved throughPOST /panel/api/clients/{email}/externalLinks(internal/web/controller/client.go).ClientService.SetExternalLinksByEmail/SetExternalLinksForRecord(internal/web/service/client_external_link.go) always replace one client's entire link set (tableclient_external_links, modelClientExternalLinkininternal/database/model/model.go) — there's no multi-client variant.ClientBulkAdjustModal.tsxbacked byClientService.BulkAdjust,internal/web/service/client_bulk.go), but it only covers expiry days, traffic, and flow — not links/subscriptions.BulkCreate/ImportClients(same file) create clients strictly from the payload given to them; nothing merges in a stored "default" set of links for new clients.dcb923b4), so this is a genuine gap in an otherwise recent feature, not a regression.Two open requests overlap with parts of this and are worth reading together:
Neither one actually covers what you're asking for — an automatic default applied to every new customer going forward, plus a way to push it to existing ones — so this is being kept open as its own request rather than closed as a duplicate. A maintainer may want to design the underlying data model (a global link entity plus an assignment/default mechanism) once, so it can serve this issue and #5533 together.
@MHSanaei for triage/prioritization.
This comment was generated automatically; a maintainer may follow up.