potential bugfix to permission updating

This commit is contained in:
Erik 2023-07-04 18:59:40 +03:00
parent 4a59ccce69
commit e76fab36ed
Signed by: Navy.gif
GPG Key ID: 2532FBBB61C65A68

View File

@ -63,7 +63,7 @@ class Entity
updatePermissions (perms: Permissions)
{
PermissionManager.validatePermissions(perms);
this.#_permissions = PermissionManager.merge(perms, this.#_permissions);
this.#_permissions = PermissionManager.merge(this.#_permissions, perms);
return this.save();
}