Skip to content

Store all known users from all user managers in a single table #21282

@PVince81

Description

@PVince81

Current issue in a LDAP scenario (also applies to other user managers):

  1. Only local users are stored in oc_users
  2. LDAP users are stored separately in mapping tables, the tables are LDAP specific
  3. No easy way to work with all users on SQL-level (repair steps, etc)
  4. On PHP level, additional round trips required to all user managers when doing user searches, for example for share autocomplete

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions