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

When changing roles, the user update is not allowed #11884

Closed
oinadmin opened this issue Aug 28, 2018 · 14 comments
Closed

When changing roles, the user update is not allowed #11884

oinadmin opened this issue Aug 28, 2018 · 14 comments

Comments

@oinadmin
Copy link

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

@peroda
Copy link

peroda commented Aug 28, 2018

neither does it allow to change the webhooks. I have same error, after upgrade from 0.68.5

@kaiiiiiiiii
Copy link
Contributor

kaiiiiiiiii commented Aug 29, 2018

Same happens for me, but not just for roles. I cannot update anything user related =/

@chandrahasan
Copy link

Same happens for me, Unable to update user details.

@snoopotic
Copy link
Contributor

snoopotic commented Aug 31, 2018

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"] }}'

@zzeesstt
Copy link

I have a similar error. I confirm.

@lecooliver
Copy link

I have same error.

@jaroslavmraz
Copy link

Same problem !!

@alexmsierra
Copy link

+1

@thepowerprocess
Copy link

Same issue.

@Venomen
Copy link

Venomen commented Sep 4, 2018

Confirmed, latest version atm, changing anything in user options fails. This is quite important thing, we would be happy with fast fix ;-)

@piotrkochan
Copy link
Contributor

It works when "Allow Name Change", "Allow Username Change" and "Allow Email Change" are enabled.

Maybe it is somehow related to #11931 ?

@thepowerprocess
Copy link

@piotrkochan This is a great temporary fix. Thanks.

@GoetheG
Copy link

GoetheG commented Mar 18, 2019

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.

@sampaiodiego
Copy link
Member

sampaiodiego commented Mar 18, 2019

@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

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

No branches or pull requests