-
Notifications
You must be signed in to change notification settings - Fork 19
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
DESENG-447 : Convert keycloak groups to composite roles for permission levels #2376
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #2376 +/- ##
==========================================
- Coverage 72.21% 71.81% -0.41%
==========================================
Files 509 509
Lines 17130 16915 -215
Branches 1288 1288
==========================================
- Hits 12370 12147 -223
- Misses 4520 4528 +8
Partials 240 240
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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.
Things look good! Thanks for doing this.
Could you please just remove logging like print()
and console.log()
if they're not needed. I had put them there for testing but we can remove them if they're not serving any other purpose
@@ -14,19 +14,19 @@ | |||
|
|||
"""Tests to verify the user membership operations. | |||
|
|||
Test-Suite to ensure that the user membership endpoints are working as expected. | |||
Test-Suite to ensure that the user membership endpoints are working as expected. # noqa: E501 |
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.
What does this mean here?
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.
some codes and docstrings exceeded the max length when we commented it out that's why there is a # noqa: E501
to ignore that flake8 warning for the time being as we are gonna uncomment those functions in the near future
@@ -36,6 +36,7 @@ import { HTTP_STATUS_CODES } from 'constants/httpResponseCodes'; | |||
export const AddToEngagementModal = () => { | |||
const { savedUser, addUserModalOpen, setAddUserModalOpen, getUserMemberships, getUserDetails } = | |||
useContext(UserDetailsContext); | |||
console.log('user', savedUser); |
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.
We can remove the logging for now. I should mentioned some calls were still present in the code
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.
removed
Quality Gate passedThe SonarCloud Quality Gate passed, but some issues were introduced. 46 New issues |
Issue #: https://apps.itsm.gov.bc.ca/jira/browse/DESENG-447
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the met-public license (Apache 2.0).