mirror of
https://github.com/lldap/lldap.git
synced 2026-04-25 16:25:55 +03:00
[GH-ISSUE #875] [BUG] lldap_password_manager role does not see other users in the web UI #314
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#314
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 @jrbarronumd on GitHub (Mar 20, 2024).
Original GitHub issue: https://github.com/lldap/lldap/issues/875
Describe the bug
The
lldap_password_managerrole does not have permissions to manage any passwordsTo Reproduce
Steps to reproduce the behavior:
lldap_password_managerroleExpected behavior
I would expect the
lldap_password_managerrole to be able to manage passwords of its own account and others.Logs
Additional context
I hope I'm not missing something here, but I know that's very possible. Is the role in question configurable and I've not set it up right?
@nitnelave commented on GitHub (Mar 20, 2024):
From the logs, it seems you're trying to modify the password of an admin account. Only admins can modify the password of admins, otherwise you would get a privilege escalation from password manager to admin.
Try with a regular user.
@jrbarronumd commented on GitHub (Mar 20, 2024):
Yeah, that was it. I was able to use Authelia's service to change a password for a non admin account. So the web UI does not allow users with that role to do anything, it's just for API access?
Thanks for the quick response. Sorry for the wasted time. I knew it would be something stupid on my end...
@nitnelave commented on GitHub (Mar 20, 2024):
From the web UI, with that role you should be able to see all users (i.e. all the a read-only account can do), change your own details (that's the case for every user) and set non-admins' passwords (including other password manager accounts)
@jrbarronumd commented on GitHub (Mar 20, 2024):
Ok, that's what I expected. When I log in as my Authelia bind user I can only see that account. I can edit email and display name, but the password field is not there. There are no navigation links to go to other pages in the UI, but I did just realize that if I manually type in the
my.domain/usersurl, I can see the other users and edit names and emails. By default, when logging in, or clicking theLLDAPin the top left, it goes tomy.domain/user/[active_user]as shown in the image below.I don't necessarily care about the UI for this use case, since it will only ever need API access. And it seems that the API access performs as expected in my limited testing.
@nitnelave commented on GitHub (Mar 20, 2024):
Oh, it might be a frontend outdated check that only checks if the user is admin or not. More generally, we don't really check the different permission levels and what they should see very well.
@steverweber commented on GitHub (Apr 14, 2025):
when using user in lldap_password_manager the user is missing heading: "[Users]"
however the user can directly enter url "/users" and then manage user passwords.