[GH-ISSUE #570] Ability to lock / hide fields #206

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

Originally created by @fgardt on GitHub (May 5, 2023).
Original GitHub issue: https://github.com/lldap/lldap/issues/570

Idea

Allow administrators to mark certain fields as either locked (as in not editable) or hidden for normal users.
An extension to this could be to link the locking / hiding to groups so that certain groups can edit / see fields that might be relevant to them.

Why

In certain scenarios it might be wanted / needed to lock users from editing certain fields of their own profile.
For example their email which might be assigned to them so it could potentially break things if changed.

Also once #67 allows for an arbitrary amount of fields not all of them might be relevant to / changeable by a user so hiding / locking them would be great.

Originally created by @fgardt on GitHub (May 5, 2023). Original GitHub issue: https://github.com/lldap/lldap/issues/570 # Idea Allow administrators to mark certain fields as either locked (as in not editable) or hidden for normal users. An extension to this could be to link the locking / hiding to groups so that certain groups can edit / see fields that might be relevant to them. # Why In certain scenarios it might be wanted / needed to lock users from editing certain fields of their own profile. For example their email which might be assigned to them so it could potentially break things if changed. Also once #67 allows for an arbitrary amount of fields not all of them might be relevant to / changeable by a user so hiding / locking them would be great.
kerem 2026-02-27 08:15:52 +03:00
Author
Owner

@nitnelave commented on GitHub (May 5, 2023):

I'll think about some design options, but I'd like to avoid over-complicating things, so I don't know if I'll implement per-group permissions. Do you have a compelling use case, or is it just a nice-to-have?

<!-- gh-comment-id:1536223268 --> @nitnelave commented on GitHub (May 5, 2023): I'll think about some design options, but I'd like to avoid over-complicating things, so I don't know if I'll implement per-group permissions. Do you have a compelling use case, or is it just a nice-to-have?
Author
Owner

@fgardt commented on GitHub (May 5, 2023):

It would just be a nice-to-have that came to mind while writing the issue.
I certainly see that this will make it quite a bit more involved than just hiding/locking on its own which is why I mentioned it as a possible extension and not the main request.

<!-- gh-comment-id:1536228635 --> @fgardt commented on GitHub (May 5, 2023): It would just be a nice-to-have that came to mind while writing the issue. I certainly see that this will make it quite a bit more involved than just hiding/locking on its own which is why I mentioned it as a possible extension and not the main request.
Author
Owner

@nitnelave commented on GitHub (May 17, 2023):

Actually, after a closer look, it's already in the scope of #67, there's a IsUserVisible and IsUserEditable bit per field.

<!-- gh-comment-id:1550555056 --> @nitnelave commented on GitHub (May 17, 2023): Actually, after a closer look, it's already in the scope of #67, there's a IsUserVisible and IsUserEditable bit per field.
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#206
No description provided.