1) Fixed an issue where the Cancel button did not work when attempting to delete a user from the User Management.
2) Fixed an issue where automatic user creation via LDAP failed if an existing Internal user with the same username was already present.pull/8682/head
parent
97984eb3ec
commit
0403079a4b
|
|
@ -31,6 +31,7 @@ Bug fixes
|
|||
*********
|
||||
|
||||
| `Issue #6564 <https://github.com/pgadmin-org/pgadmin4/issues/6564>`_ - Fix the issue where an error is displayed when a table is dropped while a query is running.
|
||||
| `Issue #8595 <https://github.com/pgadmin-org/pgadmin4/issues/8595>`_ - Enhance contrast for selected and hovered items in the Object Explorer to improve visibility and accessibility.
|
||||
| `Issue #8607 <https://github.com/pgadmin-org/pgadmin4/issues/8607>`_ - Fixed an issue where the query tool returns "cannot unpack non-iterable Response object" when running any query with a database name change.
|
||||
| `Issue #8668 <https://github.com/pgadmin-org/pgadmin4/issues/8668>`_ - Implement API fetch error display for select dropdown.
|
||||
| `Issue #8713 <https://github.com/pgadmin-org/pgadmin4/issues/8713>`_ - Fixed issues related to column range selection using shift + click.
|
||||
|
|
@ -187,11 +187,11 @@ class LDAPAuthentication(BaseAuthentication):
|
|||
"""Add the ldap user to the internal SQLite database."""
|
||||
if config.LDAP_AUTO_CREATE_USER:
|
||||
if config.LDAP_DN_CASE_SENSITIVE:
|
||||
user = User.query.filter_by(username=self.username).first()
|
||||
user = User.query.filter_by(username=self.username,
|
||||
auth_source=LDAP).first()
|
||||
else:
|
||||
user = User.query.filter(
|
||||
func.lower(User.username) == func.lower(
|
||||
self.username)).first()
|
||||
user = User.query.filter_by(username=func.lower(self.username),
|
||||
auth_source=LDAP).first()
|
||||
|
||||
if user is None:
|
||||
create_msg = ("Creating user {0} with email {1} "
|
||||
|
|
|
|||
|
|
@ -106,7 +106,7 @@ function confirmDelete(title, text, onDeleteClick, onCancelClick, deleteLabel =
|
|||
title,
|
||||
(closeModal)=>{
|
||||
const handleOkClose = (callback) => {
|
||||
callback();
|
||||
callback?.();
|
||||
closeModal();
|
||||
};
|
||||
return (
|
||||
|
|
|
|||
Loading…
Reference in New Issue