diff options
Diffstat (limited to 'applications/luci-app-uhttpd/root/usr/share/rpcd/acl.d')
-rw-r--r-- | applications/luci-app-uhttpd/root/usr/share/rpcd/acl.d/luci-app-uhttpd.json | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/applications/luci-app-uhttpd/root/usr/share/rpcd/acl.d/luci-app-uhttpd.json b/applications/luci-app-uhttpd/root/usr/share/rpcd/acl.d/luci-app-uhttpd.json index d3b93523cc..ab946db77a 100644 --- a/applications/luci-app-uhttpd/root/usr/share/rpcd/acl.d/luci-app-uhttpd.json +++ b/applications/luci-app-uhttpd/root/usr/share/rpcd/acl.d/luci-app-uhttpd.json @@ -2,10 +2,17 @@ "luci-app-uhttpd": { "description": "Grant UCI access for luci-app-uhttpd", "read": { - "uci": [ "uhttpd" ] + "uci": [ "uhttpd" ], + "file": { + "/*": ["read"] + } }, "write": { - "uci": [ "uhttpd" ] + "uci": [ "uhttpd" ], + "file": { + "/*": ["write"], + "/etc/init.d/uhttpd restart": ["exec"] + } } } } |