1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/snserver_ynh.git synced 2024-09-03 20:26:22 +02:00

Fix SSOWAT permission

This commit is contained in:
Fabian Wilkens 2020-12-20 20:43:00 +01:00
parent 15c5850d1b
commit 6e02b06bee

View file

@ -218,9 +218,7 @@ ynh_script_progression --message="Configuring SSOwat..." --weight=3
if [ $is_public -eq 1 ] if [ $is_public -eq 1 ]
then then
# Create the visitors permission if needed # Create the visitors permission if needed
if ! ynh_permission_exists --permission "main"; then ynh_permission_update --permission "main" --add "visitors" --remove "all_users"
ynh_permission_create --permission "main" --allowed "visitors"
fi
fi fi
#================================================= #=================================================