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

moderation: restrict request duplication. #345

Conversation

alejandromumo
Copy link
Member

closes #344

)
return request
except OpenRequestAlreadyExists:
# Avoid rolling back the uow if a request already exists, since there is nothing to rollback.
Copy link
Member Author

@alejandromumo alejandromumo Aug 16, 2023

Choose a reason for hiding this comment

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

what to do here?

Return the error, similar to community inclusion

@alejandromumo alejandromumo force-pushed the restrict_duplicated_moderation_requests branch from da6b87d to 18fd835 Compare August 16, 2023 14:48
@alejandromumo alejandromumo force-pushed the restrict_duplicated_moderation_requests branch from 18fd835 to 4e82b6a Compare August 17, 2023 15:37
@zzacharo zzacharo merged commit 6761100 into inveniosoftware:master Aug 21, 2023
6 checks passed
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.

[USER MODERATION] - 5th deliverable - create moderation request on first publish
2 participants