diff options
author | Andy Walsh <andy.walsh44+github@gmail.com> | 2019-11-22 13:58:33 +0100 |
---|---|---|
committer | Andy Walsh <andy.walsh44+github@gmail.com> | 2019-11-22 13:58:33 +0100 |
commit | 877dec0fe58a93073d3c7de40aaba57aa950362c (patch) | |
tree | 69594c8a0408845c891a7095c455675c24f4c8d4 /applications/luci-app-samba4/root/usr/share/rpcd | |
parent | 4fe16b1ec61ebed400d86d3618419e6c64bb38dd (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/rpcd')
-rw-r--r-- | applications/luci-app-samba4/root/usr/share/rpcd/acl.d/luci-app-samba4.json | 16 |
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" ] + } + } + } +} |