mirror of
https://github.com/YunoHost-Apps/cinny_ynh.git
synced 2024-09-03 18:16:13 +02:00
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
|
||||
|
||||
fi
|
||||
|
||||
if ! ynh_permission_exists --permission="admin"; then
|
||||
# Create the required permissions
|
||||
ynh_permission_create --permission="admin" --url="/admin" --allowed=$admin
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue