ipk source: luci-app-tailscale
- Additional directory structure formatting updates
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"admin/services/tailscale": {
|
||||
"title": "Tailscale",
|
||||
"order": 90,
|
||||
"action": {
|
||||
"type": "firstchild"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-tailscale" ],
|
||||
"uci": { "tailscale": true }
|
||||
}
|
||||
},
|
||||
"admin/services/tailscale/setting": {
|
||||
"title": "Global Settings",
|
||||
"order": 10,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "tailscale/setting"
|
||||
}
|
||||
},
|
||||
"admin/services/tailscale/interface": {
|
||||
"title": "Interface Info",
|
||||
"order": 20,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "tailscale/interface"
|
||||
}
|
||||
},
|
||||
"admin/services/tailscale/log": {
|
||||
"title": "Logs",
|
||||
"order": 30,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "tailscale/log"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"luci-app-tailscale": {
|
||||
"description": "Grant access to Tailscale configuration",
|
||||
"read": {
|
||||
"file": {
|
||||
"/sbin/ifconfig": [ "exec" ],
|
||||
"/sbin/logread": [ "exec" ],
|
||||
"/usr/sbin/tailscale": [ "exec" ]
|
||||
},
|
||||
"ubus": {
|
||||
"service": [ "list" ],
|
||||
"network.interface.lan": [ "status" ],
|
||||
"network.interface.wan": [ "status" ]
|
||||
},
|
||||
"uci": [ "tailscale" ]
|
||||
},
|
||||
"write": {
|
||||
"uci": [ "tailscale" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user