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

Don't add the "schedule/send via CiviMail" search task, if the user has insufficient permissions #496

Conversation

bjendres
Copy link
Contributor

@bjendres bjendres commented Mar 2, 2022

The "schedule/send via CiviMail" search task is currently always added, however the subsequent action requires the CiviMailing permissions.

With this PR the search task would only be injected if the access CiviMail permission is granted for the current user.

See also #483

@colemanw
Copy link
Contributor

This looks mergeable to me @mattwire

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.

3 participants