potential bugfix to permission updating
This commit is contained in:
parent
4a59ccce69
commit
e76fab36ed
@ -63,7 +63,7 @@ class Entity
|
|||||||
updatePermissions (perms: Permissions)
|
updatePermissions (perms: Permissions)
|
||||||
{
|
{
|
||||||
PermissionManager.validatePermissions(perms);
|
PermissionManager.validatePermissions(perms);
|
||||||
this.#_permissions = PermissionManager.merge(perms, this.#_permissions);
|
this.#_permissions = PermissionManager.merge(this.#_permissions, perms);
|
||||||
return this.save();
|
return this.save();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user