[GH-ISSUE #1129] [FEATURE REQUEST] Addition of Boolean type extra attribute #401

Open
opened 2026-02-27 08:17:06 +03:00 by kerem · 2 comments
Owner

Originally created by @serghidalg on GitHub (Mar 20, 2025).
Original GitHub issue: https://github.com/lldap/lldap/issues/1129

Motivation
Since 0.6 release, custom attributes have been of great use for many users. I think it would be easy enough to allow a new type of attribute of Boolean type.

Describe the solution you'd like
Integration of custom attributes with Boolean types for users and groups.

Describe alternatives you've considered
I guess String type could be used for those kind of integrations (with "True" or "False") but that may not be so simple for some users and maybe if they are allowed to self edit such attribute they won't know what to add.

Additional context
The feature should be added to the list here and when editing such attribute a checkbox should trigger a change in value.
Image

Thanks for the great work and creating such an amazing project!

Originally created by @serghidalg on GitHub (Mar 20, 2025). Original GitHub issue: https://github.com/lldap/lldap/issues/1129 **Motivation** Since 0.6 release, custom attributes have been of great use for many users. I think it would be easy enough to allow a new type of attribute of Boolean type. **Describe the solution you'd like** Integration of custom attributes with Boolean types for users and groups. **Describe alternatives you've considered** I guess String type could be used for those kind of integrations (with "True" or "False") but that may not be so simple for some users and maybe if they are allowed to self edit such attribute they won't know what to add. **Additional context** The feature should be added to the list here and when editing such attribute a checkbox should trigger a change in value. ![Image](https://github.com/user-attachments/assets/943932e2-d3b1-489a-872b-c8580e3b7e91) Thanks for the great work and creating such an amazing project!
Author
Owner

@nitnelave commented on GitHub (Mar 20, 2025):

Would it be okay to use an integer instead, with values 1 or 0?

I agree that it's not the best representation and a boolean type would be better. For the record, I'm accepting this feature request as a "we should do this", but given the limited dev time we have, it won't be worked on for a long while (unless you do it yourself, in which case I can help guide you)

<!-- gh-comment-id:2741063875 --> @nitnelave commented on GitHub (Mar 20, 2025): Would it be okay to use an integer instead, with values 1 or 0? I agree that it's not the best representation and a boolean type would be better. For the record, I'm accepting this feature request as a "we should do this", but given the limited dev time we have, it won't be worked on for a long while (unless you do it yourself, in which case I can help guide you)
Author
Owner

@serghidalg commented on GitHub (Mar 20, 2025):

I am afraid I know nothing about Rust and I also find myself quite limited in time, so adding this as a future feature sounds good.
Sorry that I can't help in this occasion :(
And also thanks for the swift response

<!-- gh-comment-id:2741371620 --> @serghidalg commented on GitHub (Mar 20, 2025): I am afraid I know nothing about Rust and I also find myself quite limited in time, so adding this as a future feature sounds good. Sorry that I can't help in this occasion :( And also thanks for the swift response
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#401
No description provided.