luci-app-smartdns.json 421 B

12345678910111213141516171819202122
  1. {
  2. "luci-app-smartdns": {
  3. "description": "Grant access to LuCI app smartdns",
  4. "read": {
  5. "file": {
  6. "/etc/smartdns/*": [ "read" ]
  7. },
  8. "ubus": {
  9. "service": [ "list" ]
  10. },
  11. "uci": [ "smartdns" ]
  12. },
  13. "write": {
  14. "file": {
  15. "/etc/smartdns/*": [ "write" ],
  16. "/etc/init.d/smartdns restart": [ "exec" ],
  17. "/etc/init.d/smartdns updatefiles": [ "exec" ]
  18. },
  19. "uci": [ "smartdns" ]
  20. }
  21. }
  22. }