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

[FIX] Update user information not possible by admin if disabled to users #11955

Merged
merged 7 commits into from
Sep 11, 2018
Merged

[FIX] Update user information not possible by admin if disabled to users #11955

merged 7 commits into from
Sep 11, 2018

Conversation

kaiiiiiiiii
Copy link
Contributor

@kaiiiiiiiii kaiiiiiiiii commented Sep 4, 2018

Closes #11884 (#11931 maybe as well)

The checks @MarcosSpessatto introduced in #11474 do not take into account the permissions of the performing user.

IMO this should be reviewed and released asap, as it's not possible to change any user information as an administrator when some fields are disabled in the account page.

Thanks,
Kai

// CC: @sampaiodiego

@kaiiiiiiiii kaiiiiiiiii changed the title Check for user permissions in addition [HOT FIX] Update user informations not possible Sep 4, 2018
@piotrkochan
Copy link
Contributor

Works for #11884 but not for #11931

@piotrkochan
Copy link
Contributor

Ok, not anymore have to bother with #11931, I know where the problem was.

@RocketChat RocketChat deleted a comment Sep 5, 2018
@kaiiiiiiiii
Copy link
Contributor Author

@MarcosSpessatto Can you please trigger the right buttons to get this merged and released asap? It's not an option to wait for the next monthly release ...

@sampaiodiego sampaiodiego changed the title [HOT FIX] Update user informations not possible [FIX] Update user information not possible by admin if disabled to users Sep 11, 2018
@sampaiodiego sampaiodiego added this to the 0.69.3 milestone Sep 11, 2018
@sampaiodiego sampaiodiego merged commit 6b0213b into RocketChat:develop Sep 11, 2018
@sampaiodiego sampaiodiego mentioned this pull request Sep 11, 2018
@kaiiiiiiiii kaiiiiiiiii deleted the hotfix-update_user_fails branch September 11, 2018 20:43
engelgabriel added a commit that referenced this pull request Sep 19, 2018
* develop: (27 commits)
  Fix stylelint
  [FIX]  Login error message not obvious if user not activated (#11785)
  [NEW] REST endpoints to get moderators from groups and channels (#11909)
  [NEW] User preference for 24- or 12-hour clock (#11169)
  [FIX] Adding scroll bar to read receipts modal (#11919)
  [FIX] Fixing translation on 'yesterday' word when calling timeAgo function (#11946)
  [FIX] Fixing spacement between tags and words on some labels (#12018)
  [FIX] video message recording, issue #11651 (#12031)
  [FIX] Prevent form submission in Files List search (#11999)
  [NEW] REST endpoint to set groups' announcement (#11905)
  [FIX] Re-add the eye-off icon (#12079)
  [NEW] Livechat trigger option to run only once (#12068)
  [IMPROVE] Use eslint-config package (#12044)
  [FIX] Internal error when cross-origin with CORS is disabled (#11953)
  [FIX] Message reaction in GraphQL API (#11967)
  [FIX] Direct messages leaking into logs (#11863)
  Fix the stylelint (#11991)
  [NEW] REST endpoints to create roles and assign roles to users (#11855)
  [FIX] Hidden admin sidenav on embedded layout (#12025)
  [FIX] Update user information not possible by admin if disabled to users (#11955)
  ...

# Conflicts:
#	package-lock.json
#	package.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants