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

MG-2048 - Authorize groups and channels with PATs #2501

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

Conversation

nyagamunene
Copy link
Contributor

What type of PR is this?

This is a feature because it adds the following functionality: It adds authorization to groups and channels using PATs.

What does this do?

It adds PATs authorization to groups and channels middleware,

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

Have you included tests for your changes?

Yes

Did you document any new/modified feature?

No

Notes

@nyagamunene nyagamunene self-assigned this Nov 3, 2024
@nyagamunene nyagamunene force-pushed the AuthorizeGroupsChannels branch 3 times, most recently from 618df09 to 2cab2ac Compare November 5, 2024 12:57
@arvindh123 arvindh123 changed the base branch from main to auth-refactor November 11, 2024 09:52
@arvindh123 arvindh123 force-pushed the auth-refactor branch 2 times, most recently from 3f43476 to 4323d34 Compare November 12, 2024 18:21
@dborovcanin dborovcanin force-pushed the auth-refactor branch 2 times, most recently from c04c035 to 37e5c2c Compare November 18, 2024 16:10
@dborovcanin dborovcanin force-pushed the auth-refactor branch 5 times, most recently from 9d4dce1 to 4daa02b Compare December 2, 2024 10:27
@nyagamunene nyagamunene changed the base branch from auth-refactor to main December 2, 2024 14:17
@nyagamunene nyagamunene force-pushed the AuthorizeGroupsChannels branch from 2cab2ac to 10bc421 Compare December 6, 2024 10:49
Copy link

codecov bot commented Dec 6, 2024

Codecov Report

Attention: Patch coverage is 6.63410% with 3631 lines in your changes missing coverage. Please review.

Project coverage is 40.40%. Comparing base (559e05f) to head (18fdf3e).
Report is 6 commits behind head on main.

Files with missing lines Patch % Lines
auth/bolt/pat.go 0.00% 637 Missing ⚠️
auth/pat.go 0.00% 426 Missing ⚠️
auth/mocks/pats.go 0.00% 283 Missing ⚠️
auth/mocks/patsrepo.go 0.00% 273 Missing ⚠️
auth/mocks/service.go 8.66% 244 Missing and 9 partials ⚠️
auth/service.go 1.37% 214 Missing and 1 partial ⚠️
auth/api/logging.go 0.00% 208 Missing ⚠️
users/middleware/authorization.go 0.00% 185 Missing ⚠️
auth/api/http/pats/requests.go 0.00% 184 Missing ⚠️
auth/api/http/pats/transport.go 36.13% 152 Missing ⚠️
... and 14 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2501      +/-   ##
==========================================
- Coverage   44.00%   40.40%   -3.60%     
==========================================
  Files         385      274     -111     
  Lines       48121    34028   -14093     
==========================================
- Hits        21177    13750    -7427     
+ Misses      24799    19289    -5510     
+ Partials     2145      989    -1156     

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

@nyagamunene nyagamunene marked this pull request as ready for review December 6, 2024 11:17
@nyagamunene nyagamunene force-pushed the AuthorizeGroupsChannels branch 6 times, most recently from 44b63ac to 2982d90 Compare December 6, 2024 17:25
Signed-off-by: nyagamunene <[email protected]>
Signed-off-by: nyagamunene <[email protected]>
Signed-off-by: nyagamunene <[email protected]>
Signed-off-by: nyagamunene <[email protected]>
nyagamunene and others added 29 commits December 11, 2024 20:57
Signed-off-by: nyagamunene <[email protected]>
Signed-off-by: nyagamunene <[email protected]>
Signed-off-by: nyagamunene <[email protected]>
Signed-off-by: nyagamunene <[email protected]>
Signed-off-by: nyagamunene <[email protected]>
Signed-off-by: nyagamunene <[email protected]>
Signed-off-by: nyagamunene <[email protected]>
Signed-off-by: nyagamunene <[email protected]>
Signed-off-by: nyagamunene <[email protected]>
Signed-off-by: nyagamunene <[email protected]>
Signed-off-by: Felix Gateru <[email protected]>
Signed-off-by: Arvindh <[email protected]>
Signed-off-by: nyagamunene <[email protected]>
Signed-off-by: nyagamunene <[email protected]>
Signed-off-by: nyagamunene <[email protected]>
Signed-off-by: nyagamunene <[email protected]>
Signed-off-by: nyagamunene <[email protected]>
Signed-off-by: nyagamunene <[email protected]>
Signed-off-by: nyagamunene <[email protected]>
Signed-off-by: nyagamunene <[email protected]>
Signed-off-by: nyagamunene <[email protected]>
Signed-off-by: nyagamunene <[email protected]>
Signed-off-by: nyagamunene <[email protected]>
Signed-off-by: nyagamunene <[email protected]>
@nyagamunene nyagamunene force-pushed the AuthorizeGroupsChannels branch from 1dcf4ee to 18fdf3e Compare December 11, 2024 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🩺 Review and testing
Development

Successfully merging this pull request may close these issues.

2 participants