Update scripts/upgrade
Co-authored-by: Kayou <pierre@kayou.io>
This commit is contained in:
parent
07539cb90f
commit
3c263428b1
1 changed files with 3 additions and 0 deletions
|
@ -67,6 +67,9 @@ if ynh_legacy_permissions_exists; then
|
||||||
|
|
||||||
ynh_app_setting_delete --app=$app --key=is_public
|
ynh_app_setting_delete --app=$app --key=is_public
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
|
if ! ynh_permission_exists --permission="admin"; then
|
||||||
# Create the required permissions
|
# Create the required permissions
|
||||||
ynh_permission_create --permission="admin" --url="/admin" --allowed=$admin
|
ynh_permission_create --permission="admin" --url="/admin" --allowed=$admin
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue