humhub / rest

HumHub Rest API Module
24 stars 24 forks source link

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

Open donni106 opened 8 months ago

donni106 commented 8 months ago

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 commented 7 months ago

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- commented 7 months ago

@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 hello@humhub.com