mirror of
https://github.com/Sagit-chu/flvx.git
synced 2026-09-28 07:36:38 +08:00
3e11549370
- Return actual user_tunnel.status in admin permission list instead of hardcoded 1 - Allow non-admin users to update forwards when keeping the same speedId selection - Add contract tests for user tunnel status mapping and forward permission edge case Entire-Checkpoint: deb90fb942ee
13 lines
504 B
Markdown
13 lines
504 B
Markdown
# 018 User Tunnel Disable Status Sync
|
|
|
|
## Checklist
|
|
|
|
- [x] Inspect the user tunnel permission edit flow and identify why disabling an assigned tunnel appears ineffective.
|
|
- [x] Return the real `user_tunnel.status` value from the admin permission list API instead of a hardcoded enabled state.
|
|
- [x] Add contract coverage for the user tunnel permission list status mapping and run focused backend verification.
|
|
|
|
## Test Record
|
|
|
|
- Command: `cd go-backend && go test ./tests/contract/...`
|
|
- Result: passed.
|