Hey Berdir and all,
Now that we have the new "Reply only" permission, it occurs to me that we should probably support this new permission when setting up User Blocking Rules at admin/config/messaging/privatemsg/block. Basically, instead of having two actions ("Disallow blocking author" and "Disallow sending message," we would now have three actions:
* Disallow blocking author
* Disallow sending new message
* Disallow replying to message
These expanded options, for instance, would enable the site admin to disallow sending a new message to a particular role (say, the administrator role), but permit replying to a message from someone in that role.
What do you think?
--Ben
Comments
Comment #1
BerdirInteresting idea, but requires that we extend the hook that allows to block recipients because that information is currently simply not available to that hook.
Comment #2
BenK CreditAttribution: BenK commentedAh, I see. Is this something that is feasible or would you rather postpone? I'm not sure how much effort is involved in extending the hook...
--Ben
Comment #3
BerdirWe can just leave it active and I'll write a patch when I find the time and/or have an idea how to this can be done in an easy way.
PS: I've added new components for the different sub-modules.
Comment #4
BerdirSee #883670: Pass thread_id as context to hook_privatemsg_block_message()
Comment #5
tugis CreditAttribution: tugis commentedThis would be a really useful functionality.
Subscribing
Comment #6
BerdirComment #7
ivnish CreditAttribution: ivnish commented