Skip to content

Conversation

@oioki
Copy link
Member

@oioki oioki commented Jun 5, 2024

If an organization user does not have project-level permission to a project (for example, with Open Membership disabled), they should not be allowed to create or view custom rules (aka Get Samples).

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jun 5, 2024
@oioki oioki requested review from a team and iambriccardo June 5, 2024 18:38
@codecov
Copy link

codecov bot commented Jun 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.96%. Comparing base (3132d36) to head (31baaf5).
Report is 10 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff             @@
##           master   #72153       +/-   ##
===========================================
+ Coverage   56.90%   77.96%   +21.06%     
===========================================
  Files        6561     6570        +9     
  Lines      292460   292787      +327     
  Branches    50481    50539       +58     
===========================================
+ Hits       166420   228283    +61863     
+ Misses     121318    58258    -63060     
- Partials     4722     6246     +1524     
Files Coverage Δ
src/sentry/api/endpoints/custom_rules.py 76.64% <100.00%> (+48.76%) ⬆️

... and 1971 files with indirect coverage changes

Copy link
Member

@matejminar matejminar left a comment

Choose a reason for hiding this comment

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

Thank you for fixing this! 🙏

@oioki oioki merged commit e696b21 into master Jun 6, 2024
@oioki oioki deleted the fix/custom-rules-project-permissions branch June 6, 2024 09:03
ArthurKnaus pushed a commit that referenced this pull request Jun 6, 2024
…ng custom rule (#72153)

If an organization user does not have project-level permission to a
project (for example, with Open Membership disabled), they should not be
allowed to create or view custom rules (aka _Get Samples_).
@github-actions github-actions bot locked and limited conversation to collaborators Jun 21, 2024
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.

3 participants