luci-app-pbr.json 531 B

12345678910111213141516171819202122232425262728293031323334353637
  1. {
  2. "luci-app-pbr": {
  3. "description": "Grant UCI and file access for luci-app-pbr",
  4. "read": {
  5. "ubus": {
  6. "luci.pbr": [
  7. "getGateways",
  8. "getInitList",
  9. "getInitStatus",
  10. "getInterfaces",
  11. "getPlatformSupport"
  12. ]
  13. },
  14. "file": {
  15. "/usr/share/nftables.d/ruleset-post/30-pbr.nft": [
  16. "read"
  17. ],
  18. "/var/run/pbr.nft": [
  19. "read"
  20. ]
  21. },
  22. "uci": [
  23. "pbr"
  24. ]
  25. },
  26. "write": {
  27. "uci": [
  28. "pbr"
  29. ],
  30. "ubus": {
  31. "luci.pbr": [
  32. "setInitAction"
  33. ]
  34. }
  35. }
  36. }
  37. }