mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +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:
parent
1a76e7bef0
commit
da39f593f1
@ -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'])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user