mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-11-02 23:23:56 +08:00
update 2026-10-27 11:22:48
This commit is contained in:
1 parent
a4d6470641
commit
63a5dffe55
4907 files changed
+2036791
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