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(); }