From 1327d3b9c8dae287313c43764617aa1007bf7311 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Fri, 12 Mar 2021 16:49:35 +0100 Subject: [PATCH] Add a small note about extra permissions --- scripts/install | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index a7b45ed..9ae52c7 100755 --- a/scripts/install +++ b/scripts/install @@ -287,7 +287,7 @@ ynh_use_logrotate #================================================= ynh_script_progression --message="Integrating service in YunoHost..." --time --weight=1 -### `yunohost service add` integrates a service in YunoHost. It then gets +### `yunohost service add` integrates a service in YunoHost. It then gets ### displayed in the admin interface and through the others `yunohost service` commands. ### (N.B.: this line only makes sense if the app adds a service to the system!) ### If you're not using these lines: @@ -351,6 +351,9 @@ then ynh_permission_update --permission="main" --add="visitors" fi +### N.B. : the following extra permissions only make sense if your app +### does have for example an admin interface or an api. + # 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" --allowed=$admin