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

[IMPROVE] Add permission to change other user profile avatar #13884

Merged
merged 8 commits into from
Apr 6, 2019

Conversation

knrt10
Copy link
Contributor

@knrt10 knrt10 commented Mar 24, 2019

Now admin can change user profile picture, from admin -> users setting.

Closes #12312
Closes #12388
Closes #8485

cc @tassoevan @ggazzo would you please review.
Preview

@knrt10 knrt10 changed the title [FEATURE] Admin can change user profile image [FEATURE/IMPROVEMENT] Admin can change user profile image Mar 24, 2019
@tassoevan tassoevan requested review from ggazzo and tassoevan March 25, 2019 19:22
@marceloschmidt marceloschmidt added this to the 1.1.0 milestone Apr 4, 2019
@engelgabriel engelgabriel modified the milestones: 1.1.0, 1.0.0 Apr 6, 2019
marceloschmidt
marceloschmidt previously approved these changes Apr 6, 2019
});
}

FileUpload.getStore('Avatars').deleteByName(args.username);
Copy link
Member

@sampaiodiego sampaiodiego Apr 6, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like there are no tests to ensure the caller has the right permissions to allow resetting someone else avatar.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let me update it.

@marceloschmidt marceloschmidt self-requested a review April 6, 2019 12:12
@rodrigok rodrigok self-assigned this Apr 6, 2019
@rodrigok rodrigok changed the title [FEATURE/IMPROVEMENT] Admin can change user profile image [IMPROVEMENT] Add permission to change other user profile avatar Apr 6, 2019
@rodrigok rodrigok changed the title [IMPROVEMENT] Add permission to change other user profile avatar [IMPROVE] Add permission to change other user profile avatar Apr 6, 2019
@rodrigok rodrigok merged commit 05ee4dc into RocketChat:develop Apr 6, 2019
wreiske added a commit to wreiske/Rocket.Chat that referenced this pull request Apr 7, 2019
… into emoji-upgrades

* 'emoji-upgrades' of https://github.com/wreiske/Rocket.Chat:
  Settings: disable reset button (RocketChat#14026)
  Settings: hiding  reset button for readonly fields (RocketChat#14025)
  [NEW] Add support to updatedSince parameter in emoji-custom.list and deprecated old endpoint (RocketChat#13510)
  [IMPROVE] Add permission to change other user profile avatar (RocketChat#13884)
  [IMPROVE] UI of Permissions page (RocketChat#13732)
  [NEW] Chatpal: Enable custom search parameters (RocketChat#13828) (RocketChat#13829)
  [FIX] Closing sidebar when room menu is clicked. (RocketChat#13842)
  [FIX] Check settings for name requirement before validating (RocketChat#14021)
  Fix debug logging not being enabled by the setting (RocketChat#13979)
  [FIX] Links and upload paths when running in a subdir (RocketChat#13982)
@rodrigok rodrigok mentioned this pull request Apr 28, 2019
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.

6 participants