3x-ui/internal/web/service/panel
libmur-dev a8d0700bf2
fix(auth): add node-admin token scope for panel updates (#6666)
* feat(auth): add node-admin API token scope

Keep ordinary node-sync credentials unable to self-update a remote panel while allowing explicitly elevated node administrators to inherit synchronization access and invoke updatePanel.

* style(docs): format API scope table

* fix(auth): preserve mTLS node-sync semantics

Allow only an explicit node-admin bearer to elevate a verified mTLS request. Existing admin, monitor, and node-sync bearer values continue to use the historical node-sync identity on mTLS connections.

* chore(ci): rerun flaky checks

---------

Co-authored-by: libmur-dev <333915961+libmur-dev@users.noreply.github.com>
2026-10-17 23:45:26 +02:00
..
api_token.go fix(auth): add node-admin token scope for panel updates (#6666) 2026-10-17 23:45:26 +02:00
api_token_scope_test.go fix(auth): add node-admin token scope for panel updates (#6666) 2026-10-17 23:45:26 +02:00
api_token_test.go fix(auth): add node-admin token scope for panel updates (#6666) 2026-10-17 23:45:26 +02:00
panel.go refactor(util): move panel version comparison into a shared package 2026-10-02 23:56:52 +02:00
panel_other.go fix: make all self-managed file downloads/installs atomic, with real completion status (#5711) 2026-07-02 18:19:33 +02:00
panel_test.go refactor(util): move panel version comparison into a shared package 2026-10-02 23:56:52 +02:00
panel_unix.go fix: make all self-managed file downloads/installs atomic, with real completion status (#5711) 2026-07-02 18:19:33 +02:00
sponsor.go fix(sponsor): fetch sponsor data from raw.githubusercontent.com 2026-10-14 17:10:02 +02:00
sponsor_test.go feat(sponsors): drop the sidebar slot and simplify the Sponsors page 2026-10-13 23:32:56 +02:00
user.go fix(panel): accept 2FA codes from adjacent TOTP windows (#6546) 2026-09-15 15:42:30 +03:00
websocket.go style: adopt golangci-lint v2 and resolve all findings 2026-06-27 15:42:22 +02:00