From e76fab36ed221781304c195a32414d5e5f4b5e9d Mon Sep 17 00:00:00 2001 From: "Navy.gif" Date: Tue, 4 Jul 2023 18:59:40 +0300 Subject: [PATCH] potential bugfix to permission updating --- src/server/interfaces/Entity.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/interfaces/Entity.ts b/src/server/interfaces/Entity.ts index eb84315..3f49ab2 100644 --- a/src/server/interfaces/Entity.ts +++ b/src/server/interfaces/Entity.ts @@ -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(); }