Skip to content

[stable17] relax strict getHome behaviour for LDAP users in a shadow state - #18884

Merged
blizzz merged 1 commit into
stable17from
backport/17717/stable17
Feb 28, 2020
Merged

[stable17] relax strict getHome behaviour for LDAP users in a shadow state#18884
blizzz merged 1 commit into
stable17from
backport/17717/stable17

Conversation

@blizzz

Copy link
Copy Markdown
Member

backport of #17717

@rullzerrullzer mentioned this pull request Jan 20, 2020
@rullzer

Copy link
Copy Markdown
Member

CI fails

@blizzz

This comment has been minimized.

@blizzz

Copy link
Copy Markdown
MemberAuthor

CI fails

were just phpunit version related incompatibilities

@juliusknorr

Copy link
Copy Markdown
Member

@blizzz Please squash the fixups. 😉

@ChristophWurstChristophWurst left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 (🐘)

* simplifies deletion process
* less strange behaviour when looking up home storage (as long as it is local)
* thus could enable transfer ownerships after user went invisible on ldap
backport of #17717
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
decouple userExists from userExistsOnLDAP check
allows to mark users as offline right away, avoids a gap of being not a
user and causing weird side effects
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
adjust tests
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
remove superfluous tests
- user_ldap is not exposed to public api, it is always behind ldap_proxy
- this is too much for a unit test
- integration tests cover userExists implicitly
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
ensure that only valid group members are returned
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
@blizzz
blizzzforce-pushed the backport/17717/stable17 branch from c26792b to 2056758CompareFebruary 28, 2020 17:05
@blizzzblizzz added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Feb 28, 2020
@blizzz
blizzz merged commit 6cf2507 into stable17Feb 28, 2020
@blizzz
blizzz deleted the backport/17717/stable17 branch February 28, 2020 21:47
@rullzerrullzer mentioned this pull request Mar 2, 2020
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to releaseReady to be released and/or waiting for tests to finishbugenhancementfeature: ldap

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@blizzz@rullzer@juliusknorr@ChristophWurst@skjnldsv