[BREAK] Always remove the field services from user data responses in REST API#10799
Merged
[BREAK] Always remove the field services from user data responses in REST API#10799
services from user data responses in REST API#10799Conversation
graywolf336
previously requested changes
May 17, 2018
Contributor
graywolf336
left a comment
There was a problem hiding this comment.
Please change this to breaking, as it heavily breaks the response we've been returning for a long time now.
Contributor
There was a problem hiding this comment.
Don't define this every time the call happens, move it outside.
Member
|
@rodrigok @graywolf336 @MarcosSpessatto what's the status on this? we need to get it merged... has the mobile team been informed of the breaking change? |
Contributor
|
@RocketChat/android @RocketChat/ios just in case not on radar. |
cardoso
reviewed
May 29, 2018
Member
|
@geekgonecrazy @marceloschmidt @MarcosSpessatto @graywolf336 this doesn't break anything for us |
ggazzo
previously requested changes
Jun 12, 2018
Member
There was a problem hiding this comment.
what do you think
...
const getFields = () => Object.keys(RocketChat.authz.hasPermission(this.userId, 'view-full-other-user-info') ? RocketChat.API.v1.limitedUserFieldsToExcludeIfIsPrivilegedUser : RocketChat.API.v1.limitedUserFieldsToExclude);
nonSelectableFields = nonSelectableFields.concat(getFields());
...
added 2 commits
June 13, 2018 15:25
Refactor the if else statement on parseJsonQuery function
Member
|
Can we merge this yet? |
Contributor
Author
|
@ggazzo what do you think? |
rodrigok
approved these changes
Jun 20, 2018
services from user data responses
services from user data responsesservices from user data responses in REAT API
services from user data responses in REAT APIservices from user data responses in REST API
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.