grafana/public/app/features/admin/ldap
gotjosh e4afc8d518 LDAP: Fixing sync issues (#19446)
The arching goal of this commit is to enable single user
synchronisation with LDAP. Also, it included minor fixes of style,
error messages and minor bug fixing.

The changes are:

- bug: The `multildap` package has its own errors when the user is
  not found. We fixed the conditional branch on this error by asserting
on the `multildap` errors as opposed to the `ldap` one

- bug: The previous interface usage of `RevokeAllUserTokens` did not
  work as expected. This replaces the manual injection of the service by
leveraging the service injected as part of the `server` struct.

- chore: Better error messages around not finding the user in LDAP.

- fix: Enable the single sync button and disable it when we receive an
  error from LDAP. Please note, that you can enable it by dispatching
the error. This allows you to try again without having to reload the
page.

- fix: Move the sync info to the top, then move the sync button above
  that information and clearfix to have more harmony with the UI.
2019-11-07 14:31:44 +01:00
..
LdapConnectionStatus.tsx AlertBox: Merged Alertbox into Alert (#19212) 2019-09-20 13:41:00 +02:00
LdapPage.tsx AlertBox: Merged Alertbox into Alert (#19212) 2019-09-20 13:41:00 +02:00
LdapSyncInfo.tsx Ldap: Add LDAP debug page (#18759) 2019-09-16 18:56:01 +03:00
LdapUserGroups.tsx LDAP Debug: No longer shows incorrectly matching groups based on role (#20018) 2019-11-01 15:42:22 +01:00
LdapUserInfo.tsx LDAP: Show non-matched groups returned from LDAP (#19208) 2019-09-19 16:13:38 +01:00
LdapUserMappingInfo.tsx Ldap: Add LDAP debug page (#18759) 2019-09-16 18:56:01 +03:00
LdapUserPage.tsx LDAP: Fixing sync issues (#19446) 2019-11-07 14:31:44 +01:00
LdapUserPermissions.tsx Ldap: Add LDAP debug page (#18759) 2019-09-16 18:56:01 +03:00
LdapUserTeams.tsx LDAP: Show non-matched groups returned from LDAP (#19208) 2019-09-19 16:13:38 +01:00