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:
parent
23d821d0ec
commit
16a441b732
2 changed files with 2 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue