fix: root actions in tui/gui & userControl
This commit is contained in:
32 files changed
+665
-317
No files matched your search
+40
-16
@@ -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"
|
||||
]
|
||||
```
|
||||
Reference in new issue
Block a user