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] Showing Workspace Section For User Having LiveChat Manager Permission #27188

Merged
merged 9 commits into from Jan 3, 2023

Conversation

nishant23122000
Copy link
Contributor

@nishant23122000 nishant23122000 commented Nov 4, 2022

Proposed changes (including videos or screenshots)

Issue(s)

Closes #27081
oc-536

Steps to test or reproduce

Please refer #27081 for more details

  1. Log in as livechat-manager user (should not have admin role)
  2. Open Administration > Workspace menu item
    Screenshot 2022-12-27 at 11 12 35

Further comments

The Workspace menu shouldn't be visible since the livechat-manager user doesn't have any admin permission.

@nishant23122000 nishant23122000 requested a review from a team as a code owner November 4, 2022 11:20
@nishant23122000
Copy link
Contributor Author

@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?

@filipemarins filipemarins requested a review from a team as a code owner December 26, 2022 20:17
@codecov
Copy link

codecov bot commented Dec 26, 2022

Codecov Report

Merging #27188 (6514703) into develop (5a0c3a2) will increase coverage by 0.89%.
The diff coverage is n/a.

❗ Current head 6514703 differs from pull request most recent head 638302b. Consider uploading reports for the commit 638302b to get more accurate results

Impacted file tree graph

@@             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%) ⬆️

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

filipemarins
filipemarins previously approved these changes Dec 27, 2022
@dionisio-bot dionisio-bot bot added stat: ready to merge PR tested and approved waiting for merge and removed stat: needs QA labels Jan 2, 2023
@kodiakhq kodiakhq bot merged commit 7f935ed into RocketChat:develop Jan 3, 2023
gabriellsh added a commit that referenced this pull request Jan 4, 2023
…ove/receipts

* 'develop' of github.com:RocketChat/Rocket.Chat:
  Chore: Improve `ts-node` startup time with `swc` (#27686)
  Fix write stream error on user data export (#27683)
  Regression: Rectifying thread layout (#27680)
  [FIX] Showing Workspace Section For User Having LiveChat Manager Permission (#27188)
  [FIX] Team mention highlight EE (#27493)
  [IMPROVE] Save toPhone when receiving SMSs (#27656)
  Chore: Upgrade EE license for CI (#27682)
  Chore: Replace borders to `default` (#27667)
  Chore: Refactor message subcomponents (#27630)
  Regression: Fix go to ThreadList hook (#27663)
  Chore: Refactor e2e selectors to use roles (#27582)
  Chore: Composer wrapper around the textarea (#27658)
  [FIX] Remove invalid settings at startup (#27653)
gabriellsh added a commit that referenced this pull request Jan 5, 2023
…/freeze-custom-roles

* 'develop' of github.com:RocketChat/Rocket.Chat: (67 commits)
  Chore: Reduce Less usage in theming (#27689)
  [IMPROVE] Increase read receipt size (#27665)
  Chore: Improve `ts-node` startup time with `swc` (#27686)
  Fix write stream error on user data export (#27683)
  Regression: Rectifying thread layout (#27680)
  [FIX] Showing Workspace Section For User Having LiveChat Manager Permission (#27188)
  [FIX] Team mention highlight EE (#27493)
  [IMPROVE] Save toPhone when receiving SMSs (#27656)
  Chore: Upgrade EE license for CI (#27682)
  Chore: Replace borders to `default` (#27667)
  Chore: Refactor message subcomponents (#27630)
  Regression: Fix go to ThreadList hook (#27663)
  Chore: Refactor e2e selectors to use roles (#27582)
  Chore: Composer wrapper around the textarea (#27658)
  [FIX] Remove invalid settings at startup (#27653)
  Chore: Token refactor (#27655)
  Regression: Composer fix join room action (#27657)
  Regression: Sidebar collapsing on extra small views (#27651)
  Chore: Composer missing Slash Command preview (#27652)
  Chore: Custom emoji empty state (#27641)
  ...
@sampaiodiego sampaiodiego mentioned this pull request Feb 17, 2023
@sampaiodiego sampaiodiego mentioned this pull request Mar 9, 2023
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stat: QA tested stat: ready to merge PR tested and approved waiting for merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Administration > Workspace is visible for usual users
3 participants