After upgrading to version 0.69.0, when changing roles, the user update is not allowed.
I am admin role
Rocket.Chat v0.69.0
neither does it allow to change the webhooks. I have same error, after upgrade from 0.68.5
Same happens for me, but not just for roles. I cannot update anything user related =/
Same happens for me, Unable to update user details.
Hi, as a workaround you can use the REST-API to change User Settings:
https://rocket.chat/docs/developer-guides/rest-api/users/update/
(I had to add an admin role to one of our users)
curl -H "X-Auth-Token: xXXxyYYYyxXXXXXXXxxxxXXXXXXX" \
-H "X-User-Id: xXXXxxxxXXX" \
-H "Content-type:application/json" \
https://localhost:3000/api/v1/users.update \
-d '{"userId": "zZzzzzZZZ", "data": { "roles": ["user", "admin"] }}'
I have a similar error. I confirm.
I have same error.
Same problem !!
+1
Same issue.
Confirmed, latest version atm, changing anything in user options fails. This is quite important thing, we would be happy with fast fix ;-)
It works when "Allow Name Change", "Allow Username Change" and "Allow Email Change" are enabled.
Maybe it is somehow related to https://github.com/RocketChat/Rocket.Chat/issues/11931 ?
@piotrkochan This is a great temporary fix. Thanks.
I can confirm this error. Please reopen this ticket. The way I see it, the adminstrator should have the right to change everything he wants no matter what the other users can or can't do.
@GoetheG we actually rely on our permissions system and not the roles itself. the original issue was solved already, can you please open a new issue describing what is happening to you? thanks
Most helpful comment
Confirmed, latest version atm, changing anything in user options fails. This is quite important thing, we would be happy with fast fix ;-)