Files
grafana/pkg/api
Oleg Gaidarenko 1b1d951495 LDAP: refactoring (#17479)
* LDAP: use only one struct

* Use only models.ExternalUserInfo

* Add additional helper method :/

* Move all the helpers to one module

* LDAP: refactoring

* Rename some of the public methods and change their behaviour

* Remove outdated methods

* Simplify logic

* More tests
  There is no and never were tests for settings.go, added tests for helper
  methods (cover is now about 100% for them). Added tests for the main
  LDAP logic, but there is some stuff to add. Dial() is not tested and not
  decoupled. It might be a challenge to do it properly

* Restructure tests:
   * they wouldn't depend on external modules
   * more consistent naming
   * logical division

* More guards for erroneous paths

* Login: make login service an explicit dependency

* LDAP: remove no longer needed test helper fns

* LDAP: remove useless import

* LDAP: Use new interface in multildap module

* LDAP: corrections for the groups of multiple users

* In case there is several users their groups weren't detected correctly

* Simplify helpers module
2019-06-13 16:47:51 +02:00
..
2019-05-13 08:45:54 +02:00
2018-06-26 09:22:31 +02:00
2018-04-13 20:31:29 +02:00
2019-02-06 06:41:39 +10:00
2019-05-23 15:54:47 +03:00
2018-03-22 22:38:44 +01:00
2018-07-02 14:13:18 +02:00
2019-05-22 08:48:47 +02:00
2018-10-17 15:58:52 +02:00
2019-06-13 16:47:51 +02:00
2019-05-08 09:38:40 +02:00
2019-02-24 21:12:51 +01:00
2018-11-12 20:01:53 +01:00
2018-03-22 22:38:44 +01:00
2019-02-24 21:12:51 +01:00
2018-03-22 22:38:44 +01:00