Skip to content
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

PUT /user/{id} "Forbidden" until I allow user administration for everybody #150

Open
donni106 opened this issue Feb 13, 2024 · 2 comments
Open

Comments

@donni106
Copy link

I am on module version 0.4.3 with HumHub 1.9.3 and wonder if there is a fix or workaround for my problem in some newer version.
I want users to update their profiles though the user API endpoint. Per default, no new user should be able to administrate other users, which is the default. Sadly with this I cannot make users use the PUT /user/{id} to update their profiles. There is always a 403 forbidden response until I change the permission to allow all users to administrate other users.

Did I miss something? Shouldn't each user be able to update itself through the API?

@donni106
Copy link
Author

donni106 commented Apr 3, 2024

Hi @luke-, do you have a moment to have a look and a hint? Thx!
Or can I contact you in another way (E-Mail?) to have a (German) chat?

@luke-
Copy link
Contributor

luke- commented Apr 3, 2024

@donni106 Currently, user management is only accessible to administrators.
Own profiles cannot currently be edited via the REST API as described by you.

If you like you can contact us via [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants