Resolve "Allow using Django-local accounts in addition to LDAP accounts" #2146
No reviewers
Labels
No labels
Security
TeX
auto-update
board
done
board
ready
board
todo
check
delete-eslint-rc-js
check
update-builddeps-package-json
check
update-eslint-rc-js
check
update-gitignore
check
update-merge-request-template
check
update-prettier-ignore
check
update-pyproject-toml
check
update-renovate-json
check
update-tox-ini
part
backend
part
ci
part
docs
part
frontend
part
i18n
part
non-technical
part
packaging
prio
1
prio
2
prio
3
release-mr-5.x
size
large
size
medium
size
small
source
customer
source
customer::fsmw
source
customer::fss
source
customer::teckids
source
downstream
type
breaking
type
bug
type
feature
type
refactoring
workflow
blocked
workflow
confirmed
workflow
current-todo
workflow
discussing
workflow
new-app
workflow
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
aleksis/AlekSIS-Core!2146
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "389-allow-using-django-local-accounts-in-addition-to-ldap-accounts"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This approach moves the check for the
SET_USABLE_PASSWORDsetting to happen before failing authentication. If we do not handle passwords, we allow logging in with whatever is there.The default behaviour remains to fail authentication for users that are not found in LDAP for the security reasons pointed out in #389.
Closes #388, #389
@debdolph We have to check what this does to the password changing feature. How does it behave if we disable usable Django passwords, and do we need to disable the feature then?
assigned to @hansegucker and unassigned @nik
added 2 commits
Compare with previous version
marked this merge request as ready
changed the description
requested review from @debdolph
changed the description
marked this merge request as draft
@debdolph Please provide feedback asap.
marked this merge request as ready
added 192 commits
master66d244f0- Only fail auth for non-LDAP users if password handling is enabled16eaf34f- Allow overriding password handling in configCompare with previous version
@debdolph Your feedback is still missing.
added 65 commits
master6b514d1e- Merge branch 'master' into 389-allow-using-django-local-accounts-in-addition-to-ldap-accountsCompare with previous version
approved this merge request
mentioned in commit
72bcb568be