Skip to content

Allow user authentication via SFTP token#772

Open
liam-lloyd wants to merge 1 commit into
mainfrom
per-10651_update_middleware_to_accept_sftp_tokens_for_users
Open

Allow user authentication via SFTP token#772
liam-lloyd wants to merge 1 commit into
mainfrom
per-10651_update_middleware_to_accept_sftp_tokens_for_users

Conversation

@liam-lloyd

Copy link
Copy Markdown
Member

Currently, only some user-accessible endpoints allow access tokens from the SFTP service. This commit updates the authentication middleware to allow this for all user-accessible endpoints.

Currently, only some user-accessible endpoints allow access tokens from
the SFTP service. This commit updates the authentication middleware to
allow this for all user-accessible endpoints.
@codecov

codecov Bot commented Jun 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.55%. Comparing base (b5afd2c) to head (6ab02f4).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #772      +/-   ##
==========================================
- Coverage   98.55%   98.55%   -0.01%     
==========================================
  Files         109      109              
  Lines        2777     2769       -8     
  Branches      465      458       -7     
==========================================
- Hits         2737     2729       -8     
  Misses         36       36              
  Partials        4        4              
Flag Coverage Δ
api 98.55% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@liam-lloyd

Copy link
Copy Markdown
Member Author

This can be tested by deploying this branch to dev, uploading a file via SFTP, and then verifying that that file is processed by Archivematica.

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.

1 participant