read all relevant user attributes on login and user search, in one qu… - #18469
Conversation
|
@rperezb could you get us some testing? |
|
@blizzz Happy to help |
|
@MorrisJobke yes, already on my list, gonna rebase it in a few. |
db72a1e to
33b94cb
Compare
|
A new inspection was created. |
|
rebased, an adjustedment to changed codebase was necessary. @tkaufm if you could confirm again with the latest changes, this would be awesome :) |
There was a problem hiding this comment.
This is fired even if my home folder naming rule is an empty string.
There was a problem hiding this comment.
Previously this was inside the if( strpos($this->access->connection->homeFolderNamingRule, 'attr:') === 0 && $this->access->connection->homeFolderNamingRule !== 'attr:')
|
@blizzz any update ? (after your vacation) |
|
@blizzz Ping :) |
|
lol, added another commit (locally) this second to fix your finding |
33b94cb to
002b6bf
Compare
|
@MorrisJobke fixed, includes tests. Please try again, sänk ju. |
|
Tested and works with existing users 👍 |
|
Tested positively by @davitol #17362 (comment) |
|
@DeepDiver1975 merge? |
read all relevant user attributes on login and user search, in one qu…
|
@blizzz Can you create the backport request? This should go into 8.1.4 ;) |
|
Will do. |
…search, in one query) read all relevant user attributes on login and user search, in one query. saves us some. Conflicts: apps/user_ldap/user_ldap.php adjust to nested group fix do not throw exception when no attribute is specified
|
Regression: #19816 |
…search, in one query) read all relevant user attributes on login and user search, in one query. saves us some. Conflicts: apps/user_ldap/user_ldap.php adjust to nested group fix do not throw exception when no attribute is specified
…ery. saves us some.
obsolotes #12943
fixes #17362
Basically it does what #12943 did, but also reads the user attributes when users are being fetched, for instance in share dialog (except: avatar image).
Please review @MorrisJobke @Xenopathic @esakol @tkaufm or others