-
Notifications
You must be signed in to change notification settings - Fork 673
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-2568 - Check Domain enabled / disabled status during Authn or Authz #2586
Conversation
ff186ad
to
4da52f1
Compare
4da52f1
to
4b3b4bd
Compare
accffa1
to
5b5ef9b
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2586 +/- ##
==========================================
+ Coverage 45.67% 46.76% +1.09%
==========================================
Files 398 156 -242
Lines 50091 23988 -26103
==========================================
- Hits 22879 11218 -11661
+ Misses 24854 11806 -13048
+ Partials 2358 964 -1394 ☔ View full report in Codecov by Sentry. |
0f23321
to
3fa5055
Compare
pkg/authz/authz.go
Outdated
import ( | ||
"context" | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please make it inline
9c88d26
to
c4e4a5c
Compare
Signed-off-by: Felix Gateru <[email protected]>
Signed-off-by: Felix Gateru <[email protected]>
Signed-off-by: Felix Gateru <[email protected]>
Signed-off-by: Felix Gateru <[email protected]>
Signed-off-by: Felix Gateru <[email protected]>
Signed-off-by: Arvindh <[email protected]>
Signed-off-by: Arvindh <[email protected]>
Signed-off-by: Felix Gateru <[email protected]>
Signed-off-by: Felix Gateru <[email protected]>
Signed-off-by: Felix Gateru <[email protected]>
c4e4a5c
to
86d3787
Compare
What type of PR is this?
This is a feature as it adds check domain authorization for domain related operations by users.
What does this do?
This pr adds domain check authorization to existing authorization. The check domain is meant to ensure only domain admins can access a disabled domain and only super admins can access a frozen domain.
Which issue(s) does this PR fix/relate to?
Have you included tests for your changes?
Yes, tests have been added.
Did you document any new/modified feature?
No
Notes
None