Skip to content

CS-429 [Bug] - Attempt to upload meeting evidence showing a 401 Unauthorized error#2932

Open
github-actions[bot] wants to merge 3 commits into
mainfrom
chas/upload-submission-authorization
Open

CS-429 [Bug] - Attempt to upload meeting evidence showing a 401 Unauthorized error#2932
github-actions[bot] wants to merge 3 commits into
mainfrom
chas/upload-submission-authorization

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot commented May 27, 2026

This is an automated pull request to merge chas/upload-submission-authorization into dev.
It was created by the [Auto Pull Request] action.


Summary by cubic

Fixes CS-429 by enabling session, API key, or service token auth for evidence uploads and attributing each submission to a resolved user. Prevents 401s and returns 400 when no org owner exists.

  • New Features

    • uploadSubmission accepts session, API key, or service token auth.
    • Attributes to the session user, else the org’s oldest owner for API key/service token.
    • Returns 400 when no owner can be found.
  • Refactors

    • Controller uses ActingUserResolver to resolve the acting user from req and passes userId to the service.
    • Service uploadSubmission now takes userId instead of authContext.

Written for commit 0e9333f. Summary will update on new commits.

Review in cubic

@vercel
Copy link
Copy Markdown

vercel Bot commented May 27, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
app Ready Ready Preview, Comment May 28, 2026 4:48pm
comp-framework-editor Ready Ready Preview, Comment May 28, 2026 4:48pm
portal Ready Ready Preview, Comment May 28, 2026 4:48pm

Request Review

@chasprowebdev chasprowebdev changed the title [dev] [chasprowebdev] chas/upload-submission-authorization CS-429 [Bug] - Attempt to upload meeting evidence showing a 401 Unauthorized error May 27, 2026
@linear
Copy link
Copy Markdown

linear Bot commented May 27, 2026

CS-429

Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

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

No issues found across 3 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Re-trigger cubic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant