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.
Name |
Last commit
|
Last Update |
---|---|---|
.. | ||
__snapshots__ | Loading commit data... | |
ldap | Loading commit data... | |
partials | Loading commit data... | |
state | Loading commit data... | |
AdminEditOrgCtrl.ts | Loading commit data... | |
AdminEditUserCtrl.ts | Loading commit data... | |
AdminListOrgsCtrl.ts | Loading commit data... | |
AdminListUsersCtrl.ts | Loading commit data... | |
AdminSettings.tsx | Loading commit data... | |
DisabledUserInfo.tsx | Loading commit data... | |
ServerStats.test.tsx | Loading commit data... | |
ServerStats.tsx | Loading commit data... | |
StyleGuideCtrl.ts | Loading commit data... | |
UserInfo.tsx | Loading commit data... | |
UserSessions.tsx | Loading commit data... | |
UserSyncInfo.tsx | Loading commit data... | |
index.ts | Loading commit data... |