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

SMQ-2704 - Update listing of group hierarchy #2710

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

felixgateru
Copy link
Contributor

What type of PR is this?

This is a refactor as it updates the list groups hierarchy fucntionality to follow the new listing methodology

What does this do?

This pr refactors listing groups for a user from SpiceDB to the groups repo method.

Which issue(s) does this PR fix/relate to?

Have you included tests for your changes?

Yes, I have updated tests for my changes.

Did you document any new/modified feature?

No

Notes

None

Copy link

codecov bot commented Feb 14, 2025

Codecov Report

Attention: Patch coverage is 12.65823% with 69 lines in your changes missing coverage. Please review.

Project coverage is 36.44%. Comparing base (da6e3e1) to head (19abcf6).

Files with missing lines Patch % Lines
groups/middleware/authorization.go 0.00% 19 Missing ⚠️
domains/middleware/authorization.go 0.00% 17 Missing ⚠️
channels/middleware/authorization.go 0.00% 16 Missing ⚠️
clients/middleware/authorization.go 0.00% 12 Missing ⚠️
journal/middleware/authorization.go 0.00% 2 Missing ⚠️
ws/handler.go 0.00% 2 Missing ⚠️
channels/private/service.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2710      +/-   ##
==========================================
- Coverage   42.08%   36.44%   -5.65%     
==========================================
  Files         341      246      -95     
  Lines       47488    40968    -6520     
==========================================
- Hits        19987    14932    -5055     
+ Misses      25318    24898     -420     
+ Partials     2183     1138    -1045     

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

@felixgateru felixgateru marked this pull request as ready for review February 14, 2025 13:23
@felixgateru felixgateru requested a review from a team as a code owner February 14, 2025 13:23
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.

Update listing of groups by userID
1 participant