mirror of
https://github.com/lldap/lldap.git
synced 2026-04-25 00:05:50 +03:00
[GH-ISSUE #570] Ability to lock / hide fields #206
Labels
No labels
backend
blocked
bug
cleanup
dependencies
docker
documentation
duplicate
enhancement
enhancement
frontend
github_actions
good first issue
help wanted
help wanted
integration
invalid
ldap
pull-request
question
rust
rust
tests
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/lldap-lldap#206
Loading…
Add table
Add a link
Reference in a new issue
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?
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.
@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?
@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.
@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.