From da39f593f1b70d8def201c8495e0576e363ffefb Mon Sep 17 00:00:00 2001 From: James Valleroy Date: Sun, 1 Dec 2019 11:17:00 -0500 Subject: [PATCH] samba: Only show shortcut to users in freedombox-share group Signed-off-by: James Valleroy --- plinth/modules/samba/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plinth/modules/samba/__init__.py b/plinth/modules/samba/__init__.py index 3497d6f3a..ca8b25f9b 100644 --- a/plinth/modules/samba/__init__.py +++ b/plinth/modules/samba/__init__.py @@ -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'])