mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-31 16:25:13 +08:00
💋 Sync 2026-09-07 03:05:06
This commit is contained in:
1 parent
d8bd09d3cc
commit
a1443a0a8b
22 files changed
+428
-1918
No files matched your search
@@ -1,32 +0,0 @@
|
||||
{
|
||||
"admin/control/timecontrol": {
|
||||
"title": "Time Control",
|
||||
"order": 10,
|
||||
"action": {
|
||||
"type": "firstchild"
|
||||
},
|
||||
"acl": [ "read" ],
|
||||
"depends": {
|
||||
"acl": [ "luci-app-timecontrol" ]
|
||||
},
|
||||
"recurse": true
|
||||
},
|
||||
"admin/control/timecontrol/basic": {
|
||||
"title": "Time Control",
|
||||
"order": 10,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "timecontrol/basic"
|
||||
},
|
||||
"acl": [ "read" ]
|
||||
},
|
||||
"admin/control/timecontrol/log": {
|
||||
"title": "Log",
|
||||
"order": 40,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "timecontrol/log"
|
||||
},
|
||||
"acl": [ "read" ]
|
||||
}
|
||||
}
|
||||
@@ -1,21 +1,11 @@
|
||||
{
|
||||
"luci-app-timecontrol": {
|
||||
"description": "Grant UCI Internet time control for luci-app-timecontrol",
|
||||
"read": {
|
||||
|
||||
"ubus": {
|
||||
|
||||
"file": ["exec", "list", "stat", "read"],
|
||||
"uci": [ "*" ],
|
||||
"timecontrol": ["*"]
|
||||
}
|
||||
},
|
||||
"write": {
|
||||
"ubus": {
|
||||
"timecontrol": ["*"],
|
||||
"file": ["write"],
|
||||
"uci": ["*"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
"luci-app-timecontrol": {
|
||||
"description": "Grant UCI access for luci-app-timecontrol",
|
||||
"read": {
|
||||
"uci": [ "timecontrol" ]
|
||||
},
|
||||
"write": {
|
||||
"uci": [ "timecontrol" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"config": "timecontrol",
|
||||
"init": "timecontrol"
|
||||
}
|
||||
Reference in new issue
Block a user