-
-
Notifications
You must be signed in to change notification settings - Fork 610
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
You cannot edit a user if you are authenticated with a Site Administrator. #6183
Comments
Is this behavior consistent with or different from Plone Classic UI? Can you change your own username? |
In classic Plone it is not possible to change the login name. To see:
To change your own username, you would need to have the manage user permission. In other words, you would have to be a Manager or Site Administrator. But I find that strange. Perhaps the best thing would be to prohibit the change, as occurs in classic Plone. |
Volto should align with Classic UI in functionality in control panels. The fewer functional differences between the two, the better. I'd say prohibit changing the username. FWIW, I did not see how to change my own username or another user's username when logged in as a Site Administrator. |
See the |
I still don't see it on https://demo.plone.org/controlpanel/users. I set up two users as Site Admins:
I can change their Full Name, but there is no username in the edit form. |
@stevepiercy https://demo.plone.org use Volto 17. This functionality is new on Volto 18. |
Or rather, I think this functionality already existed in the Volto 17. I'm going to do a test on the Volto 18, to see if this is really possible. |
@stevepiercy the username really does not appear in the form. But the request made to the backend sends the username anyway. |
@wesleybl I'm still not clear what is the problem and what is the desired behavior. Given |
@stevepiercy Even though the username is not visually present in the form, when we try to save it, the username is send in the request made to the backend, causing the error. If you follow the steps in "To reproduce", you will see the error. We were unable to save the form. Remember that we must be authenticated with the Site Administrator. A Manager can save the form. |
Describe the bug
If you are authenticated with a Site Administrator and try to edit any user, the error occurs:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The user must be saved.
Software (please complete the following information):
Additional context
Maybe a solution is to remove the
username
from the edit form.The text was updated successfully, but these errors were encountered: