-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
feat(console|passport): Delete group, delete member and identity of group member #2597
feat(console|passport): Delete group, delete member and identity of group member #2597
Conversation
c2fcf2a
to
9e23d47
Compare
}: { | ||
ctx: Context | ||
}): Promise<void> => { | ||
if (!ctx.accountURN) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replace this with the RequireAccount
middleware. Same for the other methods.
}) | ||
} | ||
|
||
const purge = Boolean(fd.get('purge')) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move this up so it runs before the FormData parse .. securitah!!
|
||
const identityGroupURNList = edges.map((e) => e.dst.baseUrn) | ||
await Promise.all( | ||
identityGroupURNList.map(async (igu) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This, ideally, we'd push down into edges to be done in a single call but maybe this may not be the right PR for it. Give it a think if it can be "easily" added and we'll decide together.
bdb1edf
to
7f17ff6
Compare
Description
Related Issues
Testing
--
--
--
--
Checklist