{
	"luci-app-adblock": {
		"description": "Grant access to LuCI app adblock",
		"write": {
			"uci": [
				"adblock"
			],
			"file": {
				"/etc/adblock/*": [
					"read",
					"write"
				],
				"/etc/adblock/adblock.allowlist": [
					"write"
				],
				"/etc/adblock/adblock.blocklist": [
					"write"
				],
				"/etc/adblock/adblock.custom.feeds": [
					"read",
					"write"
				]
			}
		},
		"read": {
			"cgi-io": [
				"exec"
			],
			"file": {
				"/var/run/adblock.pid": [
					"read"
				],
				"/var/run/adb_runtime.json": [
					"read"
				],
				"/etc/init.d/adblock reload": [
					"exec"
				],
				"/etc/init.d/adblock restart": [
					"exec"
				],
				"/etc/init.d/adblock suspend": [
					"exec"
				],
				"/etc/init.d/adblock resume": [
					"exec"
				],
				"/etc/init.d/adblock stop": [
					"exec"
				],
				"/etc/init.d/adblock report [a-z]* [0-9]* [0-9]* *": [
					"exec"
				],
				"/etc/init.d/adblock query *": [
					"exec"
				]
			},
			"ubus": {
				"log": [ "read" ]
			},
			"uci": [
				"adblock"
			]
		}
	}
}