-
Notifications
You must be signed in to change notification settings - Fork 12.1k
feat(outbound): UI permissions #36794
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
base: feat/outbound-msg-ui
Are you sure you want to change the base?
feat(outbound): UI permissions #36794
Conversation
Looks like this PR is not ready to merge, because of the following issues:
Please fix the issues and try again If you have any trouble, please check the PR guidelines |
|
0cff37c
to
6895670
Compare
58e63bd
to
b2266fc
Compare
6895670
to
949b227
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ 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
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
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.
Issue(s)
CTZ-249
Steps to test or reproduce
Further comments