Skip to content
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

fix: remove default namespace as a requirement to list namespaces #3711

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

erka
Copy link
Collaborator

@erka erka commented Dec 10, 2024

Currently Flipt with authz requires user to have read access to default
namespace in order to list the namespaces. This edge case ninja'd its way
into the code like a shadow in the night, but it’s time for this stealthy
PR troublemaker to find another codebase to haunt!

Side effect 1: the deps has been updated and the code should be regenerated.
Side effect 2: the tests are broken with PR #3595 in RPC and they are not run
in CI.

related to #3692 #3688

@erka erka requested a review from a team as a code owner December 10, 2024 17:22
Currently Flipt with authz requires user to have read access to default
namespace in order to list the namespaces. This edge case ninja'd its way
into the code like a shadow in the night, but it’s time for this stealthy
PR troublemaker to find another codebase to haunt!

Side effect 1: the deps has been updated and the code should be regenerated.
Side effect 2: the tests are broken with PR #3595 in RPC and they are not run
in CI.

Signed-off-by: Roman Dmytrenko <[email protected]>
Copy link

codecov bot commented Dec 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 64.56%. Comparing base (df4bd38) to head (c24b513).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3711   +/-   ##
=======================================
  Coverage   64.56%   64.56%           
=======================================
  Files         170      170           
  Lines       17140    17140           
=======================================
  Hits        11067    11067           
  Misses       5384     5384           
  Partials      689      689           
Flag Coverage Δ
unittests 64.56% <ø> (ø)

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

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

Copy link
Collaborator

@markphelps markphelps 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!

@erka erka merged commit 12a4ae8 into main Dec 10, 2024
41 checks passed
@erka erka deleted the rd/list-namespaces-with-empty-namespace branch December 10, 2024 17:50
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