[FIX] Showing Workspace Section For User Having LiveChat Manager Permission
Proposed changes (including videos or screenshots)
Issue(s)
Closes #27081
Steps to test or reproduce
Please refer #27081 for more details
- Log in as
livechat-manageruser - Open
Administration > Workspacemenu item
Further comments
The Workspace menu shouldn't be visible since the livechat-manager user doesn't have any admin permission.
@filipemarins test cases falling here, I saw your name where you implemented test cases for Rocket.Chat/apps/meteor/tests/unit/client/components/AdministrationList/AdministrationModelList.spec.tsx
can you help me with this?
Codecov Report
Merging #27188 (6514703) into develop (5a0c3a2) will increase coverage by
0.89%. The diff coverage isn/a.
:exclamation: Current head 6514703 differs from pull request most recent head 638302b. Consider uploading reports for the commit 638302b to get more accurate results
@@ Coverage Diff @@
## develop #27188 +/- ##
===========================================
+ Coverage 41.00% 41.90% +0.89%
===========================================
Files 838 811 -27
Lines 17677 17158 -519
Branches 1983 1908 -75
===========================================
- Hits 7249 7190 -59
+ Misses 10188 9727 -461
- Partials 240 241 +1
| Flag | Coverage Δ | |
|---|---|---|
| e2e | 41.90% <ø> (+0.89%) |
:arrow_up: |
Flags with carried forward coverage won't be shown. Click here to find out more.