samba: Only show shortcut to users in freedombox-share group

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
James Valleroy committed 2019-12-01 11:30:59 -05:00
1 parent 1a76e7bef0
commit da39f593f1
1 file changed
+1 -1
+1 -1
View File
@@ -77,7 +77,7 @@ class SambaApp(app_module.App):
'shortcut-samba', name, short_description=short_description,
icon='samba', description=description,
configure_url=reverse_lazy('samba:index'), clients=clients,
login_required=True)
login_required=True, allowed_groups=[group[0]])
self.add(shortcut)
firewall = Firewall('firewall-samba', name, ports=['samba'])