2.8.0.Beta10로 업데이트한 후 심각한 문제가 발생했습니다. 다음 설정을 _비활성화_해도
auth_overrides_username
효과가 없는 것 같습니다. 체크박스가 해제되어 있지만, 로그아웃/로그인 과정이 반복될 때마다 사용자가 선택한 사용자 이름이 LDAP 이름으로 덮어쓰기됩니다. 이 문제를 확인해 주실 수 있나요?
david
(David Taylor)
1월 5, 2022, 11:50오전
2
현재 LDAP 플러그인은 구체적으로 overrides_username 설정을 활성화합니다. 코어의 auth_overrides_username 설정에 단순히 의존하거나, 새로운 사이트 설정을 도입하는 것이 더 적절할 수 있습니다.
LDAP 플러그인은 공식 플러그인이 아니며, 저자가 Meta에서 활발하게 활동하지 않는 것으로 보이므로 저장소 에서 이슈를 등록해야 할 수도 있습니다.
빠른 답변 감사합니다. 이 PR으로 이미 해결된 건가요?
master ← davidtaylorhq:overrides-username
merged 05:54PM - 29 Dec 21 UTC
This commit maintains backwards compatibility with older Discourse changes
david
(David Taylor)
1월 5, 2022, 12:12오후
4
그렇게 하면 해결되지 않습니다. 다만 말씀해 주셨는데, 그 PR에서 이 동작 변경이 도입된 것 같습니다.
배경 설명을 드리면, 코어에서 오래된 ‘omit username’ 플래그를 제거했는데, LDAP 플러그인이 이 플래그를 사용 중이었습니다. 이 플래그는 overrides_username 설정과 매우 유사해서, LDAP 플러그인에서 단순히 이를 대체했습니다. 그러나 여러분이 알아채셨듯이, omit_username은 초기 가입 시에만 적용되는 반면, overrides_username은 모든 로그인 시 적용됩니다.
해당 동작 변경을 되돌리는 PR입니다. @jonmbake 님의 병합이 필요합니다.
master ← davidtaylorhq:override-login
merged 04:58PM - 05 Jan 22 UTC
073cb00d switched the plugin from the deprecated `omit_username` to the new `ove… rrides_username` flag. However, there is a slight behavior difference in these flags. `omit_username` only applied during initial signup, while `overrides_username` applies to all logins.
This commit updates the logic so that overrides_username is only used during initial signup, thereby reversing the behavior change introduced by 073cb00d.
Context at https://meta.discourse.org/t/213908
david
(David Taylor)
1월 5, 2022, 5:00오후
5
@Ralf_Stockmann 해당 PR이 이제 병합되었으므로 플러그인을 업데이트하면 이전 동작이 복원되어야 합니다