From 6d46b01a95cd543a776c0ae5af4ea89c81f36e72 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 29 Sep 2021 18:39:49 +0200 Subject: [PATCH] Update install --- scripts/install | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/install b/scripts/install index 817c86c..57019db 100755 --- a/scripts/install +++ b/scripts/install @@ -146,6 +146,9 @@ then ynh_permission_update --permission="main" --add="visitors" fi +# Only the admin can access the admin panel of the app (if the app has an admin panel) +ynh_permission_create --permission="admin" --url="/admin" --auth_header=false + #================================================= # RELOAD NGINX #=================================================