-
Notifications
You must be signed in to change notification settings - Fork 466
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
read exisiting account document to get tree when importing enabled fi…
…eld (#6614) When trying to disable an account via the Account Manager app, the account is not disabled. This bug was introduce when account creation/deletion was moved to core. Before that move, we properly load and merge the request document with doc from database so we had the `pvt_tree` field when we were checking ig the requestor is in account's tree. But this got moved into after validation and in `post/1,2` function and so we don't set enabled anymore.
- Loading branch information
Showing
1 changed file
with
21 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters