From 877dec0fe58a93073d3c7de40aaba57aa950362c Mon Sep 17 00:00:00 2001 From: Andy Walsh Date: Fri, 22 Nov 2019 13:58:33 +0100 Subject: luci-app-samba4: switch to luci static javascript api * switch to luci static javascript api * add version info * remove 'home' option * regenerate translations Signed-off-by: Andy Walsh --- .../root/usr/share/rpcd/acl.d/luci-app-samba4.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 applications/luci-app-samba4/root/usr/share/rpcd/acl.d/luci-app-samba4.json (limited to 'applications/luci-app-samba4/root/usr/share') diff --git a/applications/luci-app-samba4/root/usr/share/rpcd/acl.d/luci-app-samba4.json b/applications/luci-app-samba4/root/usr/share/rpcd/acl.d/luci-app-samba4.json new file mode 100644 index 0000000000..af3cb8af55 --- /dev/null +++ b/applications/luci-app-samba4/root/usr/share/rpcd/acl.d/luci-app-samba4.json @@ -0,0 +1,16 @@ +{ + "luci-app-samba4": { + "description": "Grant access to LuCI app samba4", + "read": { + "file": { + "/etc/samba/smb.conf.template": [ "read" ], + "/usr/sbin/smbd": [ "exec" ] + } + }, + "write": { + "file": { + "/etc/samba/smb.conf.template": [ "write" ] + } + } + } +} -- cgit v1.2.3