base vpn android plugin
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
# Automatically generated - DO NOT EDIT!
|
||||
|
||||
"$schema" = "../../schemas/schema.json"
|
||||
|
||||
[[permission]]
|
||||
identifier = "allow-ping"
|
||||
description = "Enables the ping command without any pre-configured scope."
|
||||
commands.allow = ["ping"]
|
||||
|
||||
[[permission]]
|
||||
identifier = "deny-ping"
|
||||
description = "Denies the ping command without any pre-configured scope."
|
||||
commands.deny = ["ping"]
|
||||
@@ -0,0 +1,13 @@
|
||||
# Automatically generated - DO NOT EDIT!
|
||||
|
||||
"$schema" = "../../schemas/schema.json"
|
||||
|
||||
[[permission]]
|
||||
identifier = "allow-start-tunnel"
|
||||
description = "Enables the start_tunnel command without any pre-configured scope."
|
||||
commands.allow = ["start_tunnel"]
|
||||
|
||||
[[permission]]
|
||||
identifier = "deny-start-tunnel"
|
||||
description = "Denies the start_tunnel command without any pre-configured scope."
|
||||
commands.deny = ["start_tunnel"]
|
||||
@@ -0,0 +1,13 @@
|
||||
# Automatically generated - DO NOT EDIT!
|
||||
|
||||
"$schema" = "../../schemas/schema.json"
|
||||
|
||||
[[permission]]
|
||||
identifier = "allow-stop-tunnel"
|
||||
description = "Enables the stop_tunnel command without any pre-configured scope."
|
||||
commands.allow = ["stop_tunnel"]
|
||||
|
||||
[[permission]]
|
||||
identifier = "deny-stop-tunnel"
|
||||
description = "Denies the stop_tunnel command without any pre-configured scope."
|
||||
commands.deny = ["stop_tunnel"]
|
||||
@@ -10,12 +10,12 @@
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`vpn:allow-ping`
|
||||
`vpn:allow-start-tunnel`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Enables the ping command without any pre-configured scope.
|
||||
Enables the start_tunnel command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
@@ -23,12 +23,12 @@ Enables the ping command without any pre-configured scope.
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`vpn:deny-ping`
|
||||
`vpn:deny-start-tunnel`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Denies the ping command without any pre-configured scope.
|
||||
Denies the start_tunnel command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
@@ -36,12 +36,38 @@ Denies the ping command without any pre-configured scope.
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`vpn:vpn-control`
|
||||
`vpn:allow-stop-tunnel`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Allows access to VPN Service
|
||||
Enables the stop_tunnel command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`vpn:deny-stop-tunnel`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Denies the stop_tunnel command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`vpn:allow-vpn-control`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Allows Vpn Control
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
[[permission]]
|
||||
identifier = "vpn-control"
|
||||
description = "Allows access to VPN Service"
|
||||
name = "allow-vpn-control"
|
||||
commands = { allow = ["ping", "prepare_vpn", "start_vpn", "stop_vpn"] }
|
||||
identifier = "allow-vpn-control"
|
||||
description = "Allows Vpn Control"
|
||||
|
||||
[permission.commands]
|
||||
allow = ["start_vpn", "stop_vpn"]
|
||||
@@ -295,22 +295,34 @@
|
||||
"type": "string",
|
||||
"oneOf": [
|
||||
{
|
||||
"description": "Enables the ping command without any pre-configured scope.",
|
||||
"description": "Enables the start_tunnel command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"const": "allow-ping",
|
||||
"markdownDescription": "Enables the ping command without any pre-configured scope."
|
||||
"const": "allow-start-tunnel",
|
||||
"markdownDescription": "Enables the start_tunnel command without any pre-configured scope."
|
||||
},
|
||||
{
|
||||
"description": "Denies the ping command without any pre-configured scope.",
|
||||
"description": "Denies the start_tunnel command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"const": "deny-ping",
|
||||
"markdownDescription": "Denies the ping command without any pre-configured scope."
|
||||
"const": "deny-start-tunnel",
|
||||
"markdownDescription": "Denies the start_tunnel command without any pre-configured scope."
|
||||
},
|
||||
{
|
||||
"description": "Allows access to VPN Service",
|
||||
"description": "Enables the stop_tunnel command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"const": "vpn-control",
|
||||
"markdownDescription": "Allows access to VPN Service"
|
||||
"const": "allow-stop-tunnel",
|
||||
"markdownDescription": "Enables the stop_tunnel command without any pre-configured scope."
|
||||
},
|
||||
{
|
||||
"description": "Denies the stop_tunnel command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"const": "deny-stop-tunnel",
|
||||
"markdownDescription": "Denies the stop_tunnel command without any pre-configured scope."
|
||||
},
|
||||
{
|
||||
"description": "Allows Vpn Control",
|
||||
"type": "string",
|
||||
"const": "allow-vpn-control",
|
||||
"markdownDescription": "Allows Vpn Control"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user