[New auth] - User status (blocked/deleted/live) #1371
Labels
No labels
🔥
🦾 1
🦾 2
🦾 3
🦾 4
🦾 5
🦾 6
administration
Akkoma
Android
Bare metal
bug
Communication
Community
Cryptpad
🙌 Decission needed
Discussion
Documentation
duplicate
enhancement
etherpad
Feature request
Feedback
finances
Fixed
forgejo
Free to take
Funding
fun_project
help wanted
high impact
housekeeping
Howto
infra
In progress
🤔️ Investigate
Invoice Ninja
ios
jitsi
lacre
Lacre Test
ldap
Lemmy
LibreTranslate
low impact
low prio
Lufi
macos
Mail
Merch
monitoring
movim
needs_refine
New Auth
Nextcloud
nice to have
on hold
proposal
PR ready
question
Ready
refined
Roundcube
searX
SPAM Issues
spam-protection
Staging Server
sysadmin
Themes
TOR
upstream issue
Website
windows
WIP
wontfix
xmpp
Yearly Report
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Disroot/Disroot-Project#1371
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
We need to be able to switch between username status as we have currently on LDAP. Since we don't recycle usernames we need to be able to keep used up usernames but with purged data and information about the user (just a ghosted username). When blocking user account we should be able to disable access for the user to login but have the possibility to regain access.
Currently we implent this by creating multiple ou's and assigning users to them. This works a bit different in keycloak and so we should find better way to handle this.
One of the ideas I have is rather change LDAP setup to reflect the Keycloak. Since all live users are in one realm (moving to other realms does not prevent the usernames to be re-used), we should just use attributes instead. Just like we handle legacy auth attributes, we could have both keycloak and ldap check against attribute like
userstatus. Depending on the value the user account could belive,blockedor deleted.This means we would need to change the following on current setup prior the switch: