1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/garradin_ynh.git synced 2024-09-03 18:36:17 +02:00

try to fix unskipped uris obsolete

This commit is contained in:
Robles Rodolphe 2020-04-29 02:01:02 +02:00
parent c43d47071f
commit 3ec9b2c9fd

View file

@ -66,7 +66,7 @@ if [ -n "$is_public" ]; then
#Removing skipped/unprotected_uris under certain conditions, remove the visitors group added during the migration process of 3.7
#Remove skipped_uris. If the app was public, add visitors again to the main permission
elif ynh_permission_has_user --permission=main --user=visitors
if ynh_permission_has_user --permission=main --user=visitors
then
ynh_app_setting_delete --app=$app --key=skipped_uris
ynh_permission_update --permission "main" --add "visitors"