Rocket.chat: When changing roles, the user update is not allowed

Created on 28 Aug 2018  路  14Comments  路  Source: RocketChat/Rocket.Chat

screenshot_2018-08-28
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

bug

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 ;-)

All 14 comments

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

HammyHavoc picture HammyHavoc  路  52Comments

amolliex picture amolliex  路  73Comments

dennis-f picture dennis-f  路  62Comments

mikrobyte picture mikrobyte  路  62Comments

bazarnew picture bazarnew  路  87Comments