mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-11-02 17:33:56 +08:00
update 2026-09-26 17:00:06
This commit is contained in:
1 parent
97ae9f68da
commit
bcc9ceb04a
4756 files changed
+1670713
No files matched your search
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"admin/system/partexp": {
|
||||
"title": "Partition Expansion",
|
||||
"order": 54,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "partexp"
|
||||
},
|
||||
"acl": ["luci-app-partexp"],
|
||||
"depends": {
|
||||
"acl": ["luci-app-partexp"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"luci-app-partexp": {
|
||||
"description": "Grant access for luci-app-partexp",
|
||||
"read": {
|
||||
"ubus": {
|
||||
"file": ["exec", "list", "stat", "read"],
|
||||
"uci": ["partexp"],
|
||||
"partexp": ["get_devices", "get_log", "get_status"]
|
||||
}
|
||||
},
|
||||
"write": {
|
||||
"ubus": {
|
||||
"partexp": ["autopart", "save_config"],
|
||||
"file": ["write"]
|
||||
},
|
||||
"file": {
|
||||
"/etc/config/partexp": ["write"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user