[GH-ISSUE #358] Ability to remove profile picture #135

Closed
opened 2026-02-27 08:15:26 +03:00 by kerem · 4 comments
Owner

Originally created by @wailashi on GitHub (Oct 31, 2022).
Original GitHub issue: https://github.com/lldap/lldap/issues/358

Currently there is no way to remove the profile picture of a user after it has been set.
The user page could have a button to remove the photo if one is set.

Thanks for a great tool!

Originally created by @wailashi on GitHub (Oct 31, 2022). Original GitHub issue: https://github.com/lldap/lldap/issues/358 Currently there is no way to remove the profile picture of a user after it has been set. The user page could have a button to remove the photo if one is set. Thanks for a great tool!
Author
Owner

@pixelrazor commented on GitHub (Mar 23, 2023):

Some notes from me tinkering with it so far: it's been a pain to get lldap to store NULL - the closest i can get is an empty blob (which is effectively the same) - the only issue is ensuring some sort of consistency to make sure we're returning NULL in the graphql queries

<!-- gh-comment-id:1481286834 --> @pixelrazor commented on GitHub (Mar 23, 2023): Some notes from me tinkering with it so far: it's been a pain to get lldap to store NULL - the closest i can get is an empty blob (which is effectively the same) - the only issue is ensuring some sort of consistency to make sure we're returning NULL in the graphql queries
Author
Owner

@nitnelave commented on GitHub (Mar 23, 2023):

For firstName/lastName, that's what I did in GraphQL: an empty string means no name. I'm not opposed to doing the same thing with the avatar.

<!-- gh-comment-id:1481291938 --> @nitnelave commented on GitHub (Mar 23, 2023): For firstName/lastName, that's what I did in GraphQL: an empty string means no name. I'm not opposed to doing the same thing with the avatar.
Author
Owner

@pixelrazor commented on GitHub (Mar 23, 2023):

I would like for there to be some sort of consistency for representations - i don't care as much what it is under the hood (though consistency there is nice too) but at the very least for external interfaces. Treating avatar the same as the name fields would be perfect

<!-- gh-comment-id:1481792147 --> @pixelrazor commented on GitHub (Mar 23, 2023): I would like for there to be some sort of consistency for representations - i don't care as much what it is under the hood (though consistency there is nice too) but at the very least for external interfaces. Treating avatar the same as the name fields would be perfect
Author
Owner

@nitnelave commented on GitHub (Mar 23, 2023):

Then you have my blessing if you want to do this change!

<!-- gh-comment-id:1481912033 --> @nitnelave commented on GitHub (Mar 23, 2023): Then you have my blessing if you want to do this change!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/lldap-lldap#135
No description provided.