mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-30 04:55:13 +08:00
⛄ Sync 2026-09-17 23:44:37
This commit is contained in:
1 parent
6fd72bb7e7
commit
8090504516
33 files changed
+13396
No files matched your search
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"admin/system/gitbackup": {
|
||||
"title": "Git Backup",
|
||||
"action": {
|
||||
"type": "firstchild"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-gitbackup" ],
|
||||
"uci": { "gitbackup": true }
|
||||
}
|
||||
},
|
||||
|
||||
"admin/system/gitbackup/overview": {
|
||||
"title": "Overview",
|
||||
"order": 1,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "gitbackup/overview"
|
||||
}
|
||||
},
|
||||
|
||||
"admin/system/gitbackup/settings": {
|
||||
"title": "Settings",
|
||||
"order": 2,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "gitbackup/settings"
|
||||
}
|
||||
},
|
||||
|
||||
"admin/system/gitbackup/paths": {
|
||||
"title": "Paths",
|
||||
"order": 3,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "gitbackup/paths"
|
||||
}
|
||||
},
|
||||
|
||||
"admin/system/gitbackup/history": {
|
||||
"title": "History / Restore",
|
||||
"order": 4,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "gitbackup/history"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"luci-app-gitbackup": {
|
||||
"description": "Grant UCI and rpcd access for luci-app-gitbackup",
|
||||
"read": {
|
||||
"uci": ["gitbackup"],
|
||||
"ubus": {
|
||||
"luci.gitbackup": [
|
||||
"status",
|
||||
"log",
|
||||
"config_diff",
|
||||
"pubkey",
|
||||
"list_paths",
|
||||
"history",
|
||||
"audit_paths",
|
||||
"validate_cron"
|
||||
]
|
||||
}
|
||||
},
|
||||
"write": {
|
||||
"uci": ["gitbackup"],
|
||||
"ubus": {
|
||||
"luci.gitbackup": [
|
||||
"run",
|
||||
"diff",
|
||||
"keygen",
|
||||
"test",
|
||||
"hostkey",
|
||||
"set_secret",
|
||||
"set_paths",
|
||||
"restore",
|
||||
"card"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user