Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SUPP-8: read exisiting account document to get tree when importing enabled field #6614

Merged
merged 1 commit into from
Aug 5, 2020

Conversation

icehess
Copy link
Contributor

@icehess icehess commented Jul 29, 2020

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.

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.
@icehess icehess changed the title read exisiting account document to get tree when importing enabled field SUPP-8: read exisiting account document to get tree when importing enabled field Jul 29, 2020
@harenson harenson merged commit 72b235e into 4.3 Aug 5, 2020
@harenson harenson deleted the SUPP-8-4.3 branch August 5, 2020 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants