mirror of
https://github.com/YunoHost-Apps/icecoder_ynh.git
synced 2024-09-03 19:26:10 +02:00
Update install
This commit is contained in:
parent
6ade98cfd8
commit
86e85b2243
1 changed files with 3 additions and 3 deletions
|
@ -230,7 +230,7 @@ ynh_script_progression --message="Configuring permissions..." --weight=1
|
||||||
|
|
||||||
# Everyone can access the app.
|
# Everyone can access the app.
|
||||||
# The "main" permission is automatically created before the install script.
|
# The "main" permission is automatically created before the install script.
|
||||||
ynh_permission_update --permission="main" --add="visitors"
|
#ynh_permission_update --permission="main" --add="visitors"
|
||||||
|
|
||||||
### N.B. : the following extra permissions only make sense if your app
|
### N.B. : the following extra permissions only make sense if your app
|
||||||
### does have for example an admin interface or an api.
|
### does have for example an admin interface or an api.
|
||||||
|
@ -239,10 +239,10 @@ ynh_permission_update --permission="main" --add="visitors"
|
||||||
# Everyone can access to the api part
|
# Everyone can access to the api part
|
||||||
# We don't want to display the tile in the sso so we put --show_tile="false"
|
# We don't want to display the tile in the sso so we put --show_tile="false"
|
||||||
# And we don't want that the YunoHost Admin can remove visitors group to this permission, so we put --protected="true"
|
# And we don't want that the YunoHost Admin can remove visitors group to this permission, so we put --protected="true"
|
||||||
ynh_permission_create --permission="api" --url "/api" --allowed="visitors" --show_tile="false" --protected="true"
|
#ynh_permission_create --permission="api" --url "/api" --allowed="visitors" --show_tile="false" --protected="true"
|
||||||
|
|
||||||
# Configure internal permissions for ICEcoder
|
# Configure internal permissions for ICEcoder
|
||||||
chown -R www-data.www-data $YNH_APP_ARG_PATH
|
chown -R www-data.www-data $final_path
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# RELOAD NGINX
|
# RELOAD NGINX
|
||||||
|
|
Loading…
Reference in a new issue