Skip to content

Conversation

@gabriellsh
Copy link
Member

Proposed changes (including videos or screenshots)

If the user is trying to list his own channels, the permission check is skipped.

Issue(s)

Steps to test or reproduce

  • Try to leave a team with a user that has no privileges (eg. is not owner/leader nor admin)
  • The users joined channels should be displayed even if he does not has the view-all-team-channels permission.
    PS.: If the user has not joined any additional rooms inside the team, the first step of the modal is not displayed.

Further comments

@gabriellsh gabriellsh requested a review from a team June 10, 2021 18:42
@pierre-lehnen-rc pierre-lehnen-rc merged commit e8c6072 into develop Jun 10, 2021
@pierre-lehnen-rc pierre-lehnen-rc deleted the fix/list_rooms_permission branch June 10, 2021 22:46
@sampaiodiego sampaiodiego mentioned this pull request Jun 28, 2021
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