Specify primary user type for all accounts

This commit is contained in:
Ishank Arora
2021-08-06 10:37:51 +02:00
parent ccf0c18f32
commit 10b9fee60e
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -144,6 +144,7 @@ func (a *accountsServiceBackend) accountToUser(account *accounts.Account) *cs3.U
Id: &cs3.UserId{
OpaqueId: account.Id,
Idp: a.OIDCIss,
Type: cs3.UserType_USER_TYPE_PRIMARY, // TODO: once we have support for other user types, this needs to be inferred
},
Username: account.OnPremisesSamAccountName,
DisplayName: account.DisplayName,