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

community auto-submit: remove notification about request acceptance for system user #203

Open
anikachurilova opened this issue Oct 7, 2024 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@anikachurilova
Copy link
Contributor

anikachurilova commented Oct 7, 2024

If the community's review_policy is set to open or members, then users are able to submit a record to a community, bypassing the review process. In this case, the review request is still created and auto-accepted by System.

The problem: System user receives a notification that request was accepted. Probably an if is needed somewhere here: https://github.com/inveniosoftware/invenio-rdm-records/blob/9519c1bd765b47b618e7820dd4fd47bfc9571c4d/invenio_rdm_records/requests/community_submission.py#L84

Sentry exception: https://cds-sentry.web.cern.ch/sentry/cds-rdm/issues/34056/events/816855/

@anikachurilova anikachurilova added the bug Something isn't working label Oct 7, 2024
@anikachurilova anikachurilova added this to the SSPN milestone Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant