mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-29 18:15:13 +08:00
💋 Sync 2026-10-04 04:16:09
This commit is contained in:
1 parent
f6b2df73ec
commit
f62992fd80
745 files changed
+212416
-1173
No files matched your search
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"admin/system/diskbox": {
|
||||
"title": "DiskManager",
|
||||
"order": 55,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "diskbox/disks"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-diskbox" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"luci-app-diskbox": {
|
||||
"description": "Grant access to LuCI DiskBox",
|
||||
"read": {
|
||||
"ubus": {
|
||||
"luci.diskbox": [
|
||||
"list_devices",
|
||||
"get_disk_info",
|
||||
"get_smart_attr",
|
||||
"get_format_cmd",
|
||||
"get_mount_points",
|
||||
"list_raid_devices",
|
||||
"list_btrfs_devices",
|
||||
"get_btrfs_info",
|
||||
"get_btrfs_subvolumes"
|
||||
]
|
||||
}
|
||||
},
|
||||
"write": {
|
||||
"ubus": {
|
||||
"luci.diskbox": [
|
||||
"format_partition",
|
||||
"mk_partition_table",
|
||||
"create_partition",
|
||||
"remove_partition",
|
||||
"mount",
|
||||
"umount",
|
||||
"eject_device",
|
||||
"rescan_disks",
|
||||
"create_raid",
|
||||
"create_btrfs",
|
||||
"btrfs_subvol_create",
|
||||
"btrfs_subvol_delete",
|
||||
"btrfs_subvol_set_default",
|
||||
"btrfs_set_label",
|
||||
"btrfs_snapshot_create"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user