-
Notifications
You must be signed in to change notification settings - Fork 354
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
feat: invalidate user session when user's role memberships changes #15633
Conversation
Codecov Report
@@ Coverage Diff @@
## master #15633 +/- ##
============================================
- Coverage 66.23% 66.21% -0.02%
- Complexity 31267 31279 +12
============================================
Files 3487 3488 +1
Lines 129811 129941 +130
Branches 15146 15176 +30
============================================
+ Hits 85983 86044 +61
- Misses 36748 36815 +67
- Partials 7080 7082 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 38 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
...ce-dxf2/src/main/java/org/hisp/dhis/dxf2/metadata/objectbundle/hooks/UserRoleBundleHook.java
Outdated
Show resolved
Hide resolved
dhis-2/dhis-test-web-api/src/test/java/org/hisp/dhis/webapi/controller/UserControllerTest.java
Outdated
Show resolved
Hide resolved
dhis-2/dhis-test-web-api/src/test/java/org/hisp/dhis/webapi/controller/UserControllerTest.java
Outdated
Show resolved
Hide resolved
dhis-2/dhis-test-web-api/src/test/java/org/hisp/dhis/webapi/controller/UserControllerTest.java
Show resolved
Hide resolved
Kudos, SonarCloud Quality Gate passed! |
Summary
Automatic test
Manual test
Test role assignment will log out the users
Test role changes will log out the users
Jira:
DHIS2-10334