fix: root actions in tui/gui & userControl

This commit is contained in:
fufsob committed 2026-09-15 20:02:43 +00:00
1 parent 2ce8da3f43
commit 9cdd6dada7
32 files changed
+665 -317

No files matched your search

+1 -1
View File
@@ -1045,7 +1045,7 @@ null
<a id="services-proxy-suite-inbounds-sharelinks"></a>
## services\.proxy-suite\.inbounds\.shareLinks
Write client share links for ` proxy-ctl inbounds link ` (root and userControl\.group only)\.
Write client share links for ` proxy-ctl inbounds link ` (root, and userControl\.group with the secrets scope)\.
*Type:*
boolean
+2 -4
View File
@@ -258,11 +258,9 @@ services.proxy-suite = {
enable = true;
};
userControl = {
allow = [
"global"
"perApp"
];
enable = false;
group = "proxy-suite";
scopes = [ ];
};
warp = {
asAmneziaWg = false;
+40 -16
View File
@@ -5,36 +5,28 @@ Part of the [proxy-suite options reference](./index.md).
## Options
- userControl
- [allow](#services-proxy-suite-usercontrol-allow)
- [enable](#services-proxy-suite-usercontrol-enable)
- [group](#services-proxy-suite-usercontrol-group)
- [scopes](#services-proxy-suite-usercontrol-scopes)
<a id="services-proxy-suite-usercontrol-allow"></a>
## services\.proxy-suite\.userControl\.allow
<a id="services-proxy-suite-usercontrol-enable"></a>
## services\.proxy-suite\.userControl\.enable
What userControl\.group may control without a password:
- “global”: the global units (proxy, tun, tproxy, zapret, restart, subs update)\.
- “perApp”: the per-app backend units used by ` proxy-ctl apps run `\.
Empty grants no passwordless control\.
Whether to enable passwordless ` proxy-ctl ` control for the members of userControl\.group\.
*Type:*
list of (one of “global”, “perApp”)
boolean
*Default:*
```nix
[
"global"
"perApp"
]
false
```
*Example:*
```nix
[
"global"
]
true
```
<a id="services-proxy-suite-usercontrol-group"></a>
@@ -50,3 +42,35 @@ string matching the pattern ^\[a-z_]\[a-z0-9_-]\*$
```nix
"proxy-suite"
```
<a id="services-proxy-suite-usercontrol-scopes"></a>
## services\.proxy-suite\.userControl\.scopes
What userControl\.group may do; empty allows every scope\.
- “services”: turn the proxy-suite units on and off (proxy, tun, tproxy, zapret, ssh, warp, tg, awg, inbounds), and ` restart `\.
- “perApp”: the per-app backend units used by ` proxy-ctl apps run `\.
- “routing”: ` proxy pin `, ` proxy unpin ` and ` proxy mode `\.
- “outbounds”: add and remove runtime outbounds and subscriptions, and update subscriptions\.
- “secrets”: read share links, subscription URLs and the running configs\.
- “autoProxy”: read what autoProxy learned, and ` proxy auto learn `\.
- “zapret”: edit zapret2’s learned hosts, and ` zapret cutoff probe `\.
- “stats”: ` inbounds stats `\.
*Type:*
list of (one of “services”, “perApp”, “routing”, “outbounds”, “secrets”, “autoProxy”, “zapret”, “stats”)
*Default:*
```nix
[ ]
```
*Example:*
```nix
[
"services"
"routing"
]
```