nextcloud/apps/user_ldap/tests
Arthur Schiwon 5c7948f74a
relax strict getHome behaviour for LDAP users in a shadow state
* 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>
2020-02-28 01:00:21 +01:00
..
Integration tests for user storage location 2018-08-10 00:28:44 +02:00
Jobs fix return value when ldapPagingSize returns null 2018-01-11 14:47:51 +01:00
Mapping LDAP backend to emit announce and revoke signals on mapping changes 2018-04-05 12:38:39 +02:00
Migration add tests to DB group 2017-02-17 20:12:30 +01:00
Settings [LDAP] The WebUI Wizard also should not assign empty config IDs 2018-08-23 17:58:35 +02:00
User Don't process known avatars from LDAP 2019-10-02 14:34:27 +00:00
.htaccess Only request "IndexIgnore" if mod_autoindex is loaded 2017-02-20 13:09:15 +01:00
AccessTest.php check user state when fetching to avoid dealing with offline objects 2018-05-29 01:10:03 +02:00
ConfigurationTest.php add LDAP ConfigHandler for external storages and "$home" var 2019-02-14 15:22:22 +01:00
ConnectionTest.php Fix tests for backup ldap server connection 2018-07-13 09:16:57 +02:00
GroupLDAPPluginTest.php Update license headers 2017-11-06 16:56:19 +01:00
Group_LDAPTest.php remove unused use statement 2019-03-06 00:34:29 +01:00
HelperTest.php Change @georgehrke's email 2017-11-06 20:38:59 +01:00
LDAPGroupPluginDummy.php Update license headers 2017-11-06 16:56:19 +01:00
LDAPProviderTest.php fixes returning the base when multiple are specified 2019-06-19 15:20:13 +00:00
LDAPTest.php avoid logging of "Partial search results returned: Sizelimit exceeded at" 2018-11-07 13:15:55 +01:00
LDAPUserPluginDummy.php Update license headers 2017-11-06 16:56:19 +01:00
UserLDAPPluginTest.php Update license headers 2017-11-06 16:56:19 +01:00
User_LDAPTest.php relax strict getHome behaviour for LDAP users in a shadow state 2020-02-28 01:00:21 +01:00
User_ProxyTest.php Update license headers 2017-11-06 16:56:19 +01:00
WizardTest.php adjust tests 2017-11-09 11:10:58 +01:00