mirror of
https://github.com/YunoHost-Apps/baikal_ynh.git
synced 2024-09-03 18:16:11 +02:00
Update install
This commit is contained in:
parent
7bb6c42c6a
commit
e9480d67f7
1 changed files with 10 additions and 0 deletions
|
@ -137,6 +137,16 @@ chmod 640 "$final_path/config/baikal.yaml"
|
|||
# Disable installation
|
||||
touch "$final_path/Specific/INSTALL_DISABLED"
|
||||
|
||||
#=================================================
|
||||
# SETUP SSOWAT
|
||||
#=================================================
|
||||
ynh_script_progression --message="Configuring permissions..." --weight=2
|
||||
|
||||
# Allow public access on /
|
||||
ynh_permission_update --permission="main" --add="visitors"
|
||||
# But restrain on /admin
|
||||
ynh_permission_create --permission="admin" --url="/admin" --allowed="all_users"
|
||||
|
||||
#=================================================
|
||||
# RELOAD NGINX
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue