grafana/pkg
Alexander Zobnin 2d03815770
Users: Disable users removed from LDAP (#16820)
* Users: add is_disabled column

* Users: disable users removed from LDAP

* Auth: return ErrInvalidCredentials for failed LDAP auth

* User: return isDisabled flag in user search api

* User: mark disabled users at the server admin page

* Chore: refactor according to review

* Auth: prevent disabled user from login

* Auth: re-enable user when it found in ldap

* User: add api endpoint for disabling user

* User: use separate endpoints to disable/enable user

* User: disallow disabling external users

* User: able do disable users from admin UI

* Chore: refactor based on review

* Chore: use more clear error check when disabling user

* Fix login tests

* Tests for disabling user during the LDAP login

* Tests for disable user API

* Tests for login with disabled user

* Remove disable user UI stub

* Sync with latest LDAP refactoring
2019-05-21 14:52:49 +03:00
..
api Users: Disable users removed from LDAP (#16820) 2019-05-21 14:52:49 +03:00
bus bus: noop should still execute fn 2018-06-15 12:46:20 +02:00
cmd Chore: explore possibilities of using makefile (#17039) 2019-05-16 00:29:26 +03:00
components move log package to /infra (#17023) 2019-05-13 08:45:54 +02:00
events feat(signup): progress on new sign up and email verification flow, #2353 2015-08-28 15:14:24 +02:00
extensions Feature: LDAP refactoring (#16950) 2019-05-17 14:57:26 +03:00
infra Remotecache: Avoid race condition in Set causing error on insert. (#17082) 2019-05-15 11:24:04 +02:00
login Users: Disable users removed from LDAP (#16820) 2019-05-21 14:52:49 +03:00
middleware Fix gosimple issues (#17179) 2019-05-21 07:50:44 +02:00
models Users: Disable users removed from LDAP (#16820) 2019-05-21 14:52:49 +03:00
plugins DataSourceMeta: add an option to get hidden queries (#17124) 2019-05-21 13:46:19 +02:00
registry add functionality to override service in registry 2018-10-30 13:37:30 +01:00
services Users: Disable users removed from LDAP (#16820) 2019-05-21 14:52:49 +03:00
setting Feature: LDAP refactoring (#16950) 2019-05-17 14:57:26 +03:00
tsdb Azuremonitor: multiple subscription support for alerting (#17195) 2019-05-21 12:28:30 +02:00
util backend: replace /pkg/errors with errutil (#17065) 2019-05-15 12:20:17 +02:00