owncloud / owncloud/ocis

libregraph: allow provisioning with empty displayName

Open
#5,254 0 comments 0 reactions 0 assignees View on GitHub
Type:Bug
Dominant language
Go
Stars
2.1k
Forks
274
Avg merge
2d 1h
Merged PRs (30d)
103

Description

We should allow users without a displayname and distinguish between surname and givenname to present more personalized messages.

We don't invent a username and persist that, instead when the user is authenticated and we mint a token we fill the displayname property of the user object on the fly. Furthermore, we need to fall back to the username when listing shares and share recipients.

The optimal solution would check if the displayname is set and fall back to username or email.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.