Skip to content

Conversation

aleksandernsilva
Copy link
Contributor

@aleksandernsilva aleksandernsilva commented Aug 25, 2025

Proposed changes (including videos or screenshots)

This PR adds UI permission checks covering the following:

  • outbound.can-assign-any-agent: Allows the user to see and assign any agent from the selected department in the Replies step.
  • outbound.can-assign-self-only: Restricts the user to assigning only themselves as the agent in the Replies step.
  • outbound.can-assign-queues: Determines if the user can assign to any enabled department. Without this permission, the list is filtered to departments the user is a member of.
  • outbound.send-messages: Controls the user's overall access to the Outbound Messaging feature.

This PR also adds a description to the agent field specific for situations where the user does not have any of the "assign agent" permissions.

Screenshot 2025-09-03 at 13 04 43

Issue(s)

CTZ-249

Steps to test or reproduce

Further comments

Copy link
Contributor

dionisio-bot bot commented Aug 25, 2025

Looks like this PR is not ready to merge, because of the following issues:

  • This PR is missing the 'stat: QA assured' label
  • This PR is missing the required milestone or project

Please fix the issues and try again

If you have any trouble, please check the PR guidelines

Copy link

changeset-bot bot commented Aug 25, 2025

⚠️ No Changeset found

Latest commit: 494461a

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@aleksandernsilva aleksandernsilva changed the base branch from develop to feat/outbound-msg-ui August 25, 2025 22:30
@aleksandernsilva aleksandernsilva force-pushed the feat/outbound-msg-ui-permissions branch 3 times, most recently from 0cff37c to 6895670 Compare August 26, 2025 14:28
@aleksandernsilva aleksandernsilva force-pushed the feat/outbound-msg-ui branch 2 times, most recently from 58e63bd to b2266fc Compare September 1, 2025 17:34
@aleksandernsilva aleksandernsilva force-pushed the feat/outbound-msg-ui-permissions branch from 6895670 to 949b227 Compare September 1, 2025 17:35
Copy link

codecov bot commented Sep 3, 2025

Codecov Report

❌ Patch coverage is 76.59574% with 11 lines in your changes missing coverage. Please review.
✅ Project coverage is 66.79%. Comparing base (b2266fc) to head (494461a).

Additional details and impacted files

Impacted file tree graph

@@                   Coverage Diff                    @@
##           feat/outbound-msg-ui   #36794      +/-   ##
========================================================
- Coverage                 66.83%   66.79%   -0.04%     
========================================================
  Files                      3374     3374              
  Lines                    114225   114256      +31     
  Branches                  21494    21500       +6     
========================================================
- Hits                      76345    76323      -22     
- Misses                    35179    35233      +54     
+ Partials                   2701     2700       -1     
Flag Coverage Δ
e2e 56.87% <16.12%> (-0.02%) ⬇️
unit 72.22% <94.11%> (-0.05%) ⬇️

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@aleksandernsilva aleksandernsilva marked this pull request as ready for review September 3, 2025 16:14
@aleksandernsilva aleksandernsilva requested a review from a team as a code owner September 3, 2025 16:14
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.

1 participant