-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Bugfix/not load groups if not necessary #35822
Bugfix/not load groups if not necessary #35822
Conversation
smb_windows tests are failing -> ignore |
$userGroups | ||
); | ||
$readOnlyGroupMemberships = []; | ||
if ($readOnlyGroups) { |
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.
it might be worthy to include a comment to remind that an empty array is considered "false" and, as such, we won't hit the group manager (typical PHP things)
It got the "hung restore step in drone" problem. Not even an smb_winddows issue. I restarted the drone job. That should get green CI. |
Codecov Report
@@ Coverage Diff @@
## stable10 #35822 +/- ##
==============================================
- Coverage 65.09% 65.04% -0.06%
- Complexity 20239 20268 +29
==============================================
Files 1300 1301 +1
Lines 77238 77387 +149
Branches 1301 1301
==============================================
+ Hits 50279 50333 +54
- Misses 26574 26669 +95
Partials 385 385
Continue to review full report at Codecov.
|
1 similar comment
Codecov Report
@@ Coverage Diff @@
## stable10 #35822 +/- ##
==============================================
- Coverage 65.09% 65.04% -0.06%
- Complexity 20239 20268 +29
==============================================
Files 1300 1301 +1
Lines 77238 77387 +149
Branches 1301 1301
==============================================
+ Hits 50279 50333 +54
- Misses 26574 26669 +95
Partials 385 385
Continue to review full report at Codecov.
|
please note this targets stable10 already - I will not create PRs for master anymore due to your plans to kill master branch
Description
Even if no read only groups are defined (~99,9% of all instance) all groups for the current user will be loaded.
In case of LDAP this means loading the groups from there and this has a major performance impact.
How Has This Been Tested?
Types of changes
Checklist: