1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jellyfin_ynh.git synced 2024-09-03 19:26:29 +02:00

Use manifest permissions for Jellyfin admin

This commit is contained in:
selfhoster1312 2024-05-21 18:31:02 +02:00
parent 23d821d0ec
commit 16a441b732
2 changed files with 2 additions and 4 deletions

View file

@ -44,7 +44,7 @@ ram.runtime = "100M"
type = "group"
default = "visitors"
[install.admin]
[install.init_admin_permission]
type = "user"
[install.discovery]
@ -143,6 +143,7 @@ ram.runtime = "100M"
admin.protected = true
admin.auth_header = false
admin.show_tile = false
[resources.ports]
main.default = 8095

View file

@ -113,9 +113,6 @@ fi
yunohost service add "$app" --description="Jellyfin media center" "${ports_args[@]}"
# Only the admin can access the admin panel of the app (if the app has an admin panel)
ynh_permission_update --permission="admin" --add="$admin"
#=================================================
# EDIT SYSTEMD ENVIRONMENT VARIABLE FOR AUTO-DISCOVERY
#=================================================