Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Even though when it comes time to send email, anybody without the "Send e-mails to a list created with Views." won't be able to send people email, they can still:
1. see the form elements on the view
2. get to the email composition screen
3. at the confirmation screen, see the email addresses of the people in the view
Can we have it so that the form elements don't appear at all (in other words, the field only displays for people who have the permission to do the action)?
Comments
Comment #1
hansfn CreditAttribution: hansfn commentedMy work-around is to create two views (if necessary) - one for anonymous users without the Views Send field, and another view for logged in users with the Views Send field. I limit the access to the second view to users with the "mass mailing with views_send" permission.
Anyway, I'll look into if it is easy to hide a Views Form field if the needed permission is missing. Have you tried if VBO acts like you want?
Comment #2
sillygwailoVBO doesn't act like I want. (I wish I wrote down why VBO wasn't an option, sorry.) I'm awaiting the resolution of #2072415: restore use of VBO, but as an operation plugin to proceed on that front.
Comment #3
hansfn CreditAttribution: hansfn commentedNo new features will be added to the D7 version unless there is a "perfect" patch provided. I'm spending my very little spare time on the D8 version.