Skip to content

Conversation

@blizzz
Copy link
Member

@blizzz blizzz commented Jan 14, 2020

backport of #17717

@rullzer rullzer mentioned this pull request Jan 20, 2020
@juliusknorr juliusknorr added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Jan 23, 2020
@rullzer
Copy link
Member

rullzer commented Jan 23, 2020

CI does boom

@juliusknorr juliusknorr force-pushed the backport/17717/stable16 branch from 86e7357 to 2a12d33 Compare January 23, 2020 09:34
@juliusknorr
Copy link
Member

Pushed a quick fix for PHPUnit compatibility

@rullzer
Copy link
Member

rullzer commented Jan 23, 2020

Doesn't seem to be enough https://drone.nextcloud.com/nextcloud/server/25471/14/4

@blizzz

This comment has been minimized.

@blizzz blizzz force-pushed the backport/17717/stable16 branch from 2a12d33 to f4a8881 Compare February 27, 2020 23:58
* 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 <[email protected]>

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 <[email protected]>

adjust tests

Signed-off-by: Arthur Schiwon <[email protected]>

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 <[email protected]>

ensure that only valid group members are returned

Signed-off-by: Arthur Schiwon <[email protected]>
@blizzz blizzz force-pushed the backport/17717/stable16 branch from f4a8881 to 5c7948f Compare February 28, 2020 00:01
@blizzz
Copy link
Member Author

blizzz commented Feb 28, 2020

I added the unit test compat fixes from the17 backport #18884

@skjnldsv
Copy link
Member

Greeeen

@juliusknorr juliusknorr merged commit ad317fe into stable16 Feb 28, 2020
@juliusknorr juliusknorr deleted the backport/17717/stable16 branch February 28, 2020 08:45
@rullzer rullzer mentioned this pull request Mar 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to release Ready to be released and/or waiting for tests to finish bug enhancement feature: ldap

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants