Skip to content

feat(secrecy): enable data secrecy for organizations #53322

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

Merged
merged 9 commits into from
Jul 25, 2023

Conversation

cathteng
Copy link
Member

No description provided.

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jul 20, 2023
@codecov
Copy link

codecov bot commented Jul 20, 2023

Codecov Report

Merging #53322 (309951b) into master (5b573f2) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #53322   +/-   ##
=======================================
  Coverage   79.54%   79.54%           
=======================================
  Files        4941     4941           
  Lines      208709   208761   +52     
  Branches    35549    35560   +11     
=======================================
+ Hits       166009   166058   +49     
+ Misses      37637    37636    -1     
- Partials     5063     5067    +4     
Files Changed Coverage Δ
src/sentry/conf/server.py 91.45% <ø> (+0.01%) ⬆️
src/sentry/api/exceptions.py 98.87% <100.00%> (+0.03%) ⬆️
src/sentry/api/permissions.py 91.13% <100.00%> (+0.34%) ⬆️
src/sentry/features/__init__.py 100.00% <100.00%> (ø)

... and 24 files with indirect coverage changes

@cathteng cathteng requested a review from a team as a code owner July 21, 2023 20:43
@cathteng cathteng requested a review from a team July 21, 2023 21:45
@@ -85,6 +85,11 @@ class SuperuserRequired(SentryAPIException):
message = "You need to re-authenticate for superuser."


class DataSecrecyError(SentryAPIException):
status_code = status.HTTP_418_IM_A_TEAPOT
Copy link
Member

Choose a reason for hiding this comment

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

shouldnt this be a 401? or 403?

@cathteng cathteng merged commit 8891bb5 into master Jul 25, 2023
@cathteng cathteng deleted the cathy/superuser/data-secrecy branch July 25, 2023 16:26
@github-actions github-actions bot locked and limited conversation to collaborators Aug 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Scope: Backend Automatically applied to PRs that change backend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants