luci-app-ksmbd: add uci permissions
authorJo-Philipp Wich <jo@mein.io>
Tue, 14 Apr 2020 16:06:43 +0000 (18:06 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 14 Apr 2020 16:06:43 +0000 (18:06 +0200)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
applications/luci-app-ksmbd/root/usr/share/rpcd/acl.d/luci-app-ksmbd.json

index 906a1b8f5c062244e0154b7c7ee455d60ae1340e..1581deff36a7b2c94a960956e6f9d27b928a0e85 100644 (file)
@@ -6,12 +6,14 @@
                                "/etc/ksmbd/smb.conf.template": [ "read" ],
                                "/usr/sbin/ksmbd.mountd": [ "exec" ],
                                "/sbin/modinfo": [ "exec" ]
-                       }
+                       },
+                       "uci": [ "ksmbd" ]
                },
                "write": {
                        "file": {
                                "/etc/ksmbd/smb.conf.template": [ "write" ]
-                       }
+                       },
+                       "uci": [ "ksmbd" ]
                }
        }
 }