Do not automatically give existing users the right to manage updates, but include that for new databases

This commit is contained in:
Jan Böhmer 2026-02-02 17:04:45 +01:00
parent 7e486a93c9
commit 1bfd36ccf5
3 changed files with 3 additions and 19 deletions

View file

@ -111,8 +111,9 @@ class PermissionPresetsHelper
//Allow to manage Oauth tokens
$this->permissionResolver->setPermission($perm_holder, 'system', 'manage_oauth_tokens', PermissionData::ALLOW);
//Allow to show updates
//Allow to show and manage updates
$this->permissionResolver->setPermission($perm_holder, 'system', 'show_updates', PermissionData::ALLOW);
$this->permissionResolver->setPermission($perm_holder, 'system', 'manage_updates', PermissionData::ALLOW);
}