mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
samba: Only show shortcut to users in freedombox-share group
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 file changed
+1
-1
@@ -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'])
|
||||
|
||||
Reference in new issue
Block a user