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

Roles field not updated after PUT on REST API #1456

Closed
paulbakker opened this Issue Sep 30, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@paulbakker

paulbakker commented Sep 30, 2015

Creating users, including setting roles works.
Updating users also works, but setting roles doesn't seem to have any effect. The online REST docs do show "roles" as a field for PUT on /users/{username}.

There are no errors in the logs. When setting other fields besides roles, the other fields get updated successfully.

@bernd bernd added the bug label Oct 26, 2015

@bernd bernd added this to the 1.2.2 milestone Oct 26, 2015

@bernd bernd self-assigned this Oct 26, 2015

bernd added a commit that referenced this issue Oct 26, 2015

@bernd

This comment has been minimized.

Member

bernd commented Oct 26, 2015

Thank you for the report. This bug will be fixed in the upcoming Graylog 1.2.2 release.

bernd added a commit that referenced this issue Oct 26, 2015

Add missing role assignment when updating user
Fixes #1456

(cherry picked from commit fa23eb1)

@bernd bernd closed this in 93f16f9 Oct 26, 2015

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