mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-07 04:40:05 -06:00
Merge pull request #2364 from ishank011/user-type
Specify primary user type for all accounts
This commit is contained in:
3
changelog/unreleased/accounts-user-type.md
Normal file
3
changelog/unreleased/accounts-user-type.md
Normal file
@@ -0,0 +1,3 @@
|
||||
Bugfix: Specify primary user type for all accounts
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2364
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user