Skip to content

Comments

[bug] Allow GraphQL & CDN to be accessed by unactivated users#720

Merged
hulto merged 1 commit intomainfrom
bug-fix-activation
Mar 22, 2024
Merged

[bug] Allow GraphQL & CDN to be accessed by unactivated users#720
hulto merged 1 commit intomainfrom
bug-fix-activation

Conversation

@KCarretto
Copy link
Collaborator

What type of PR is this?

/kind bug

What this PR does / why we need it:

Allows /graphql and /cdn/ endpoints to be accessed by unactivated users. In the case of GraphQL, it performs it's own authorization such that unactivated users can run the me query and see their own information. For /cdn/ only file downloads may be unauthenticated and unactivated, since currently Agents do not perform any authentication.

@KCarretto KCarretto requested a review from hulto March 22, 2024 00:18
@codecov
Copy link

codecov bot commented Mar 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 69.24%. Comparing base (3083961) to head (e7845a7).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #720      +/-   ##
==========================================
+ Coverage   69.22%   69.24%   +0.02%     
==========================================
  Files         179      179              
  Lines       12720    12731      +11     
==========================================
+ Hits         8805     8816      +11     
  Misses       3688     3688              
  Partials      227      227              

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

Copy link
Collaborator

@hulto hulto left a comment

Choose a reason for hiding this comment

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

Are we still locking unapproved users to the /me endpoint?

@hulto hulto merged commit ce5c284 into main Mar 22, 2024
@hulto hulto deleted the bug-fix-activation branch March 22, 2024 14:08
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.

2 participants