grafana/pkg/services
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
..
alerting Fix gosimple issues (#17179) 2019-05-21 07:50:44 +02:00
annotations renames PartialMatch to MatchAny 2018-09-13 15:15:42 +02:00
auth move log package to /infra (#17023) 2019-05-13 08:45:54 +02:00
cache refactor datasource caching 2018-10-30 09:31:56 +01:00
cleanup move log package to /infra (#17023) 2019-05-13 08:45:54 +02:00
dashboards move log package to /infra (#17023) 2019-05-13 08:45:54 +02:00
datasources register datasource cache service with proper name 2018-10-30 12:32:14 +01:00
guardian move log package to /infra (#17023) 2019-05-13 08:45:54 +02:00
hooks Adds backend hooks service so extensions can modify index data 2018-10-12 11:26:42 +02:00
ldap Users: Disable users removed from LDAP (#16820) 2019-05-21 14:52:49 +03:00
login Users: Disable users removed from LDAP (#16820) 2019-05-21 14:52:49 +03:00
multildap Feature: LDAP refactoring (#16950) 2019-05-17 14:57:26 +03:00
notifications backend: replace /pkg/errors with errutil (#17065) 2019-05-15 12:20:17 +02:00
provisioning Chore: explore possibilities of using makefile (#17039) 2019-05-16 00:29:26 +03:00
quota Auth: Enable retries and transaction for some db calls for auth tokens (#16785) 2019-04-30 14:42:01 +02:00
rendering move log package to /infra (#17023) 2019-05-13 08:45:54 +02:00
search Search: Fixes search limits and adds a page parameter (#16458) 2019-04-17 13:07:50 +02:00
sqlstore Users: Disable users removed from LDAP (#16820) 2019-05-21 14:52:49 +03:00
teamguardian teams: local access to bus, moving away from dep on global. 2019-03-19 14:01:20 +01:00
user Feature: LDAP refactoring (#16950) 2019-05-17 14:57:26 +03:00