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:
parent
c43d47071f
commit
3ec9b2c9fd
1 changed files with 1 additions and 1 deletions
|
@ -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
|
#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
|
#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
|
then
|
||||||
ynh_app_setting_delete --app=$app --key=skipped_uris
|
ynh_app_setting_delete --app=$app --key=skipped_uris
|
||||||
ynh_permission_update --permission "main" --add "visitors"
|
ynh_permission_update --permission "main" --add "visitors"
|
||||||
|
|
Loading…
Add table
Reference in a new issue