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

rbac: implement rbac client #2310

Merged
merged 1 commit into from
Nov 20, 2023
Merged

Conversation

ldjebran
Copy link
Contributor

Description

Because the insights rbac client use other Filter Data type, we need to reimplement the rbac client for inventory needs.

run go mod tidy to remove any unused lib

FIXES: https://issues.redhat.com/browse/THEEDGE-3624
FIXES: https://issues.redhat.com/browse/THEEDGE-3734

Type of change

What is it?

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Documentation update
  • Tests update
  • Refactor

Checklist:

  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I run make pre-commit to check fmt/vet/lint/test-no-fdo

@codecov-commenter
Copy link

codecov-commenter commented Nov 20, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (083c0eb) 62.38% compared to head (ca55a31) 62.47%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2310      +/-   ##
==========================================
+ Coverage   62.38%   62.47%   +0.08%     
==========================================
  Files          86       87       +1     
  Lines       12949    12979      +30     
==========================================
+ Hits         8078     8108      +30     
  Misses       4206     4206              
  Partials      665      665              

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

@ldjebran ldjebran force-pushed the rbac-client branch 4 times, most recently from 433bc73 to e3c73b6 Compare November 20, 2023 15:32
Copy link
Contributor

@omaciel omaciel left a comment

Choose a reason for hiding this comment

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

A couple of nitpicks :)

pkg/clients/rbac/access.go Outdated Show resolved Hide resolved
pkg/clients/rbac/access.go Outdated Show resolved Hide resolved
Copy link
Contributor

mergify bot commented Nov 20, 2023

This pull request needs all conversation threads to be resolved. Could you fix it @ldjebran? 🙏

@mergify mergify bot added the question Further information is requested label Nov 20, 2023
because the insights rbac client use other Filter Data type, we need to reimplement the rbac client for inventory needs.

FIXES: https://issues.redhat.com/browse/THEEDGE-3624
FIXES: https://issues.redhat.com/browse/THEEDGE-3734
Copy link
Contributor

@omaciel omaciel left a comment

Choose a reason for hiding this comment

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

/lgtm

@mergify mergify bot removed the question Further information is requested label Nov 20, 2023
Copy link
Contributor

@acosferreira acosferreira left a comment

Choose a reason for hiding this comment

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

lgtm

@mergify mergify bot merged commit 775bf58 into RedHatInsights:main Nov 20, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug fix Fixes #issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants