mealie/tests
Elegant 11eeab1b51
feat: LDAP improvements (#1487)
* Use Base DN for LDAP and fetch user attrs

Requires that a Base DN be set for LDAP
Set `full_name` and `email` based on LDAP attributes when creating user

* Add support for secure LDAP

Allow insecure LDAP connection (disabled by default)
Use CA when connecting to secure LDAP server

* Added missing quotes to example

* Update security.py

* Update security.py formatting

* Update security.py

Switched to f-String formatting

* formatting

* Update test_security.py

Added at attributes for testing

* Update test_security.py

Modified tests for base DN

* Update test_security.py

Set proper base DN for testing

* Update test_security.py

Corrected testing for LDAP

* Update test_security.py

Defined base_dn

* Authenticated user not in base DN

Add check for when user can authenticate but is not in base DN

* Update test_security.py

LDAP user cannot exist as it is searched before it is created and the list returns False

Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
2022-09-15 19:33:36 -08:00
..
data Feature/import keywords as tags (#1170) 2022-04-23 12:23:12 -08:00
fixtures security: implement user lockout (#1552) 2022-08-13 13:18:12 -08:00
integration_tests feat: public recipe access (#1610) 2022-08-28 20:08:33 -08:00
multitenant_tests feat: re-write get all routes to use pagination (#1424) 2022-06-25 11:39:38 -08:00
unit_tests feat: LDAP improvements (#1487) 2022-09-15 19:33:36 -08:00
utils security: implement user lockout (#1552) 2022-08-13 13:18:12 -08:00
__init__.py v0.4.0 (#236) 2021-03-31 07:20:35 -08:00
conftest.py feat: mealplan-webhooks (#1403) 2022-06-17 13:25:47 -08:00