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: Single omni closed room can't be deleted when the user doesn't have the permission to 'remove all closed omni rooms' #28877

Merged
merged 6 commits into from
Apr 14, 2023

Conversation

gbrfilipe
Copy link
Contributor

@gbrfilipe gbrfilipe commented Apr 12, 2023

Proposed changes (including videos or screenshots)

remove_room.mp4

Issue(s)

SUP-188
When an user doesn't have the permission 'remove-closed-livechat-rooms' it blocks to delete a single closed omni room.

Steps to test or reproduce

Disable the permission 'remove-closed-livechat-rooms' and try to remove one omni closed room.

Further comments

fix when an user tries to remove a single room when the user doesn't have the permission to remove all closed omnichannel rooms
@KevLehman KevLehman changed the title [FIX] Single omni closed room can't be deleted when the user doesn't have the permission to 'remove all closed omni rooms' fix: Single omni closed room can't be deleted when the user doesn't have the permission to 'remove all closed omni rooms' Apr 12, 2023
@codecov
Copy link

codecov bot commented Apr 12, 2023

Codecov Report

Merging #28877 (f337578) into develop (2dfdbb3) will increase coverage by 1.16%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop   #28877      +/-   ##
===========================================
+ Coverage    44.50%   45.67%   +1.16%     
===========================================
  Files          719      728       +9     
  Lines        13884    14088     +204     
  Branches      2179     2193      +14     
===========================================
+ Hits          6179     6434     +255     
+ Misses        7412     7345      -67     
- Partials       293      309      +16     
Flag Coverage Δ
e2e 45.62% <ø> (+1.16%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

@renatobecker renatobecker added this to the 6.2.0 milestone Apr 12, 2023
@dionisio-bot dionisio-bot bot added stat: ready to merge PR tested and approved waiting for merge and removed stat: needs QA labels Apr 12, 2023
@dionisio-bot dionisio-bot bot removed the stat: ready to merge PR tested and approved waiting for merge label Apr 12, 2023
@MartinSchoeler MartinSchoeler added the stat: ready to merge PR tested and approved waiting for merge label Apr 14, 2023
@dionisio-bot dionisio-bot bot added stat: ready to merge PR tested and approved waiting for merge and removed stat: ready to merge PR tested and approved waiting for merge labels Apr 14, 2023
@dionisio-bot dionisio-bot bot added stat: ready to merge PR tested and approved waiting for merge and removed stat: ready to merge PR tested and approved waiting for merge labels Apr 14, 2023
@kodiakhq kodiakhq bot merged commit aed42ca into RocketChat:develop Apr 14, 2023
@sampaiodiego sampaiodiego mentioned this pull request May 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants