Skip to content

fix: add policy_id to request metadata#2310

Open
mairasalazar wants to merge 6 commits intoinveniosoftware:masterfrom
mairasalazar:add-policy-id-request
Open

fix: add policy_id to request metadata#2310
mairasalazar wants to merge 6 commits intoinveniosoftware:masterfrom
mairasalazar:add-policy-id-request

Conversation

@mairasalazar
Copy link
Copy Markdown

@mairasalazar mairasalazar commented Apr 9, 2026

❤️ Thank you for your review!

Description

Adds payload with policy_id to request metadata for File Modification, like it is done for Immediate Deletion.

Closes #2313

Checklist

Ticks in all boxes and 🟢 on all GitHub actions status checks are required to merge:

Frontend

Reminder

By using GitHub, you have already agreed to the GitHub’s Terms of Service including that:

  1. You license your contribution under the same terms as the current repository’s license.
  2. You agree that you have the right to license your contribution under the current repository’s license.

@mairasalazar mairasalazar requested a review from carlinmack April 9, 2026 15:21
Comment thread invenio_rdm_records/services/services.py Outdated
Copy link
Copy Markdown
Contributor

@carlinmack carlinmack left a comment

Choose a reason for hiding this comment

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

works as expected :)

Image

@mairasalazar mairasalazar force-pushed the add-policy-id-request branch from a6a886d to 9bec49f Compare April 10, 2026 09:04
Comment thread invenio_rdm_records/requests/record_deletion.py Outdated
Comment thread invenio_rdm_records/services/services.py Outdated
Adds payload with policy_id to request metadata for File Modification
and Request Deletion requests, like it was already done for Immediate
Deletion.
After adding policy_id to the payload of requested deletions (not only
automatic deletions), this commit ensures that these cases still show
the remover as the user that accepted the request, and not the user that
created the request.
@mairasalazar mairasalazar force-pushed the add-policy-id-request branch from b8bbd2a to 76a660f Compare April 17, 2026 11:36
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.

fix: add policy_id to file modification request metadata

3 participants