Avatars in LDAP #233
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Possible, but requires a different object class for users (
inetOrgPerson
):https://tools.ietf.org/html/rfc2798#section-2.6
@greg and I went on a legit wild goose chase for this one.
Long story short: when someone first logs in to Gitea, and they have an avatar set in Akkounts/LDAP, then the avatar (and display name) will be imported from there automatically. Avatars have also been imported for all existing accounts now.
However, if someone logs in to Gitea, does not set an avatar, and then uploads one in akkounts, then it will not be pushed to Gitea, for 2 reasons:
We have also run a query to set the visibility of all users who never logged in to Gitea to "private". Users can change this themselves if they want to. We can also use a similar query later to determine who will have the service enabled already or not.
Closing this, because it is all finished on the akkounts side, where avatars are now stored properly in the LDAP directory, as well as updated for ejabberd accounts (if they don't have one set yet).