luci-mod-status-index.json 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. {
  2. "luci-mod-status-index": {
  3. "description": "Grant access to main status display",
  4. "read": {
  5. "file": {
  6. "/etc/board.json": [ "read" ],
  7. "/proc/sys/net/netfilter/nf_conntrack_count": [ "read" ],
  8. "/proc/sys/net/netfilter/nf_conntrack_max": [ "read" ],
  9. "/www/luci-static/resources/view/status/include": [ "list" ]
  10. },
  11. "ubus": {
  12. "luci": [ "getVersion" ],
  13. "file": [ "list", "read" ],
  14. "system": [ "board", "info" ]
  15. }
  16. },
  17. "write": {
  18. "uci": [ "dhcp" ]
  19. }
  20. },
  21. "luci-mod-status-index-storage": {
  22. "description": "Grant access to Storage and Mount status display",
  23. "read": {
  24. "ubus": {
  25. "luci": [ "getMountPoints" ],
  26. "system": [ "info" ]
  27. }
  28. }
  29. },
  30. "luci-mod-status-index-dhcp": {
  31. "description": "Grant access to DHCP status display",
  32. "read": {
  33. "ubus": {
  34. "luci-rpc": [ "getDHCPLeases" ]
  35. }
  36. }
  37. },
  38. "luci-mod-status-index-dsl": {
  39. "description": "Grant access to DSL status display",
  40. "read": {
  41. "ubus": {
  42. "dsl": [ "metrics" ]
  43. }
  44. }
  45. },
  46. "luci-mod-status-index-ports": {
  47. "description": "Grant access to port status display",
  48. "read": {
  49. "ubus": {
  50. "luci": [ "getBuiltinEthernetPorts" ]
  51. }
  52. }
  53. },
  54. "luci-mod-status-index-wifi": {
  55. "description": "Grant access to wireless status display",
  56. "read": {
  57. "ubus": {
  58. "iwinfo": [ "assoclist" ]
  59. }
  60. },
  61. "write": {
  62. "ubus": {
  63. "hostapd.*": [ "del_client", "wps_start", "wps_cancel", "wps_status" ]
  64. }
  65. }
  66. }
  67. }