Add a small note about extra permissions
This commit is contained in:
parent
b7b0e172a5
commit
1327d3b9c8
1 changed files with 4 additions and 1 deletions
|
@ -351,6 +351,9 @@ then
|
||||||
ynh_permission_update --permission="main" --add="visitors"
|
ynh_permission_update --permission="main" --add="visitors"
|
||||||
fi
|
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)
|
# 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
|
ynh_permission_create --permission="admin" --url="/admin" --allowed=$admin
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue