Skip to content

✨ feat: remove pending moderation of quitting users#1415

Draft
douglasduteil wants to merge 1 commit into
mainfrom
douglasduteil/faet-remove-pending-moderation-of-quitting-users
Draft

✨ feat: remove pending moderation of quitting users#1415
douglasduteil wants to merge 1 commit into
mainfrom
douglasduteil/faet-remove-pending-moderation-of-quitting-users

Conversation

@douglasduteil

Copy link
Copy Markdown
Contributor

User join an organization through a non-blocking moderation
When it quit, the on-blocking moderation should be gone too

@douglasduteil douglasduteil self-assigned this Sep 12, 2025
@douglasduteil douglasduteil changed the title faet: remove pending moderation of quitting users ✨ feat: remove pending moderation of quitting users Sep 12, 2025
throw new NotFoundError();
}

await deletePendingModeration({ user_id, organization_id });

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion: add this treatment in https://github.com/proconnect-gouv/hyyypertool : put this function in deleteUserOrganization, share this function with hyyypertool via npm

@rdubigny rdubigny changed the base branch from master to main September 19, 2025 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants