mirror of
https://github.com/YunoHost-Apps/grocy_ynh.git
synced 2024-09-03 19:25:54 +02:00
parent
2459ba73d0
commit
72bab0738b
5 changed files with 10 additions and 3 deletions
|
@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
|
|||
|
||||
Web-based groceries & household management solution for your home
|
||||
|
||||
**Shipped version:** 3.1.3~ynh1
|
||||
**Shipped version:** 3.1.3~ynh2
|
||||
|
||||
**Demo:** https://en.demo.grocy.info/stockoverview
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
|
|||
|
||||
Solution Web de gestion d'épicerie et de gestion de la maison
|
||||
|
||||
**Version incluse :** 3.1.3~ynh1
|
||||
**Version incluse :** 3.1.3~ynh2
|
||||
|
||||
**Démo :** https://en.demo.grocy.info/stockoverview
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"en": "Web-based groceries & household management solution for your home",
|
||||
"fr": "Solution Web de gestion d'épicerie et de gestion de la maison"
|
||||
},
|
||||
"version": "3.1.3~ynh1",
|
||||
"version": "3.1.3~ynh2",
|
||||
"url": "https://grocy.info",
|
||||
"upstream": {
|
||||
"license": "MIT",
|
||||
|
|
|
@ -114,6 +114,8 @@ then
|
|||
ynh_permission_update --permission="main" --add="visitors"
|
||||
fi
|
||||
|
||||
ynh_permission_create --permission="api" --url="/api" --allowed="visitors" --auth_header="false" --show_tile="false" --protected="true"
|
||||
|
||||
#=================================================
|
||||
# RELOAD NGINX
|
||||
#=================================================
|
||||
|
|
|
@ -60,6 +60,11 @@ if ynh_legacy_permissions_exists; then
|
|||
ynh_app_setting_delete --app=$app --key=is_public
|
||||
fi
|
||||
|
||||
# Add /api permission if needed
|
||||
if ! ynh_permission_exists --permission="api"; then
|
||||
ynh_permission_create --permission="api" --url="/api" --allowed="visitors" --auth_header="false" --show_tile="false" --protected="true"
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
# CREATE DEDICATED USER
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue