Skip to content

fix: Disabled remote and fetch transport in permissions #2079

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mesemus
Copy link
Contributor

@mesemus mesemus commented Jun 23, 2025

Description

(See PR in docs for context)

This fix restricts RDM permissions to only include the local and multipart transfer types in the default permissions. Users can still enable additional transfer types by following the documentation steps, which involve:

  1. Overriding the permission policy
  2. Setting up allowed domains in the invenio.cfg file

This PR also adds tests demonstrating that fetch and remote transports are disabled by default.

Note: This PR depends on invenio-drafts-resources#307.

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.

* restrict RDM to include just the local and multipart
  transfer types in the default permissions

  user can still enable them by following the documentation
  steps (overriding the permission policy and setting up
  allowed domains)

* tests that demonstrate fetch and remote transports
  are disabled
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 👀 In review
Development

Successfully merging this pull request may close these issues.

1 participant