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:
parent
15c5850d1b
commit
6e02b06bee
1 changed files with 1 additions and 3 deletions
|
@ -218,9 +218,7 @@ ynh_script_progression --message="Configuring SSOwat..." --weight=3
|
|||
if [ $is_public -eq 1 ]
|
||||
then
|
||||
# Create the visitors permission if needed
|
||||
if ! ynh_permission_exists --permission "main"; then
|
||||
ynh_permission_create --permission "main" --allowed "visitors"
|
||||
fi
|
||||
ynh_permission_update --permission "main" --add "visitors" --remove "all_users"
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue