mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-11 15:47:51 +08:00
🐶 Sync 2026-08-11 02:49:26
This commit is contained in:
1 parent
653336f8ad
commit
2b7ce8baae
52 files changed
+841
-1058
No files matched your search
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"admin/services/rms": {
|
||||
"title": "TELEOFIS: Remote Monitoring System",
|
||||
"order": 1,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "rms/overview"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-rms" ],
|
||||
"uci": { "rms": true }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"luci-app-rms": {
|
||||
"description": "Grant UCI, file-upload and service-restart access for RMS configuration",
|
||||
"read": {
|
||||
"uci": [ "rms" ],
|
||||
"file": {
|
||||
"/etc/rms/certs/selfhosted": [ "list" ],
|
||||
"/etc/rms/certs/selfhosted/*": [ "read" ],
|
||||
"/tmp/rms/device_id": [ "read" ]
|
||||
}
|
||||
},
|
||||
"write": {
|
||||
"uci": [ "rms" ],
|
||||
"file": {
|
||||
"/etc/rms/certs/selfhosted/*": [ "write", "remove" ],
|
||||
"/etc/init.d/rms-agent restart": [ "exec" ],
|
||||
"/etc/init.d/rms-telemetry restart": [ "exec" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user