-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Store all known users from all user managers in a single table #21282
Comments
This is also important to be able to properly map users to their storages. Currently LDAP users have no entries in oc_users, so if you start with a storage in the DB and want to go back to the user data you're out of luck. |
related #18227 |
oc_users are and should be kept for local users. There are other information we like to store as well in a unified way and still user backends will continue to take care of their affairs (managing users) in their systems. So it's best to imagine oc_users is an external resource as well. #19600 mixes up user names and login names. The problem is programtic: developers used to expect that the login name matches the user name which is even not always true for internal users as you can login with JABBAtheHUTT but your username still is 'jabbathehutt'. In that table we can store all the user related information, like displayname, email, maybe user directory path, and keep the user backends in charge to keep the information up to date. It will be difficult for search, because user backends (like LDAP) offer more advanced search functions that are run on backend side. For just internally done searches (in user or display names) the table will suffice. |
The bigger sledgehammer needs a milestone so it gets considered. Setting to 9.1. |
With the new auto-complete for federated sharing across ownClouds we create a carddav address book with all system users. We can use this address book in the future for other stuff as well. |
Thoughts from LDAP PoVWhat are the use cases/goals?To start with. Taken from above:
Further possibilities
Integration in current procedures
Population: full and active vs. on demand
Search
Table FieldsNot necessarily complete, suggestions. Field suggestions
Additional candidates ("nice to have")
Further considerations
|
A rough design has been proposed here: #23558 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Current issue in a LDAP scenario (also applies to other user managers):
Proposed solution:
Either reuse oc_users or provide new tables to store all users (and maybe groups too) that are known to this ownCloud instance. The table itself will have a "externalUserId" and "externalUserType" to be able to link it to other user-manager specific tables (ex: LDAP).
Ref: #19600 (comment)
@DeepDiver1975 @karlitschek @blizzz @icewind1991 @schiesbn @rullzer
The text was updated successfully, but these errors were encountered: