mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +00:00
minidlna: Only show shortcut to users in group
Add docstring. Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
ec7a74bf20
commit
11447c5788
@ -86,6 +86,7 @@ class MiniDLNAApp(app_module.App):
|
||||
icon=icon_filename,
|
||||
url='/_minidlna/',
|
||||
login_required=True,
|
||||
allowed_groups=[group[0]],
|
||||
)
|
||||
daemon = Daemon('daemon-minidlna', managed_services[0])
|
||||
|
||||
@ -97,6 +98,7 @@ class MiniDLNAApp(app_module.App):
|
||||
|
||||
|
||||
def init():
|
||||
"""Initialize the module."""
|
||||
global app
|
||||
app = MiniDLNAApp()
|
||||
register_group(group)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user