Skip to content

feat(components): Auto submit public records to cern research - #837

Open
sakshamarora1 wants to merge 1 commit into
CERNDocumentServer:masterfrom
sakshamarora1:feat/auto-submit-publications
Open

feat(components): Auto submit public records to cern research#837
sakshamarora1 wants to merge 1 commit into
CERNDocumentServer:masterfrom
sakshamarora1:feat/auto-submit-publications

Conversation

@sakshamarora1

Copy link
Copy Markdown
Contributor

closes: #830

@sakshamarora1
sakshamarora1 force-pushed the feat/auto-submit-publications branch 2 times, most recently from dae678a to f7663b6 Compare June 30, 2026 15:08
Comment thread site/cds_rdm/components.py Outdated
Comment thread site/cds_rdm/components.py Outdated
Comment thread site/cds_rdm/components.py
Comment thread site/cds_rdm/tasks.py Outdated
Comment thread site/cds_rdm/tasks.py Outdated
Comment thread site/cds_rdm/tasks.py Outdated

try:
with UnitOfWork() as uow:
processed, errors = current_record_communities_service.add(

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.

doesn't it automatically add the community to the record without requiring the review? We discussed that initially we should go through approval, we might switch to automatic approval later on

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

If that happens, later on we can remove the require_review flag from the data being passed to this service method.

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.

I am confused from all the questions and feedback - is the inclusion request to CERN research auto accepted or not in the end?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@sakshamarora1
sakshamarora1 force-pushed the feat/auto-submit-publications branch 4 times, most recently from 28ec1dc to a69b2e5 Compare July 3, 2026 14:26
@sakshamarora1
sakshamarora1 force-pushed the feat/auto-submit-publications branch from a69b2e5 to 941551c Compare July 31, 2026 11:49
Comment thread site/cds_rdm/components.py
Comment thread site/cds_rdm/components.py
Comment thread site/cds_rdm/tasks.py
"communities": [
{
"id": csc_community_id,
"require_review": True,

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.

Btw for EP here we auto accept the records but maybe is fine for that case as it is more curated content @kpsherva

Comment thread site/cds_rdm/tasks.py Outdated
Comment thread site/cds_rdm/tasks.py Outdated
Comment thread invenio.cfg
@sakshamarora1
sakshamarora1 force-pushed the feat/auto-submit-publications branch 2 times, most recently from 149fd7d to e44b377 Compare August 5, 2026 14:59
@sakshamarora1
sakshamarora1 force-pushed the feat/auto-submit-publications branch from e44b377 to 05ebcb3 Compare August 5, 2026 15:18
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.

submit automatic inclusion request to CERN Scientific community for submissions of public research type records

3 participants