summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-samba4/root/usr/share
diff options
context:
space:
mode:
authorAndy Walsh <andy.walsh44+github@gmail.com>2019-11-22 13:58:33 +0100
committerAndy Walsh <andy.walsh44+github@gmail.com>2019-11-22 13:58:33 +0100
commit877dec0fe58a93073d3c7de40aaba57aa950362c (patch)
tree69594c8a0408845c891a7095c455675c24f4c8d4 /applications/luci-app-samba4/root/usr/share
parent4fe16b1ec61ebed400d86d3618419e6c64bb38dd (diff)
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 <andy.walsh44+github@gmail.com>
Diffstat (limited to 'applications/luci-app-samba4/root/usr/share')
-rw-r--r--applications/luci-app-samba4/root/usr/share/rpcd/acl.d/luci-app-samba4.json16
1 files changed, 16 insertions, 0 deletions
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" ]
+ }
+ }
+ }
+}