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

Berdir’s picture

Interesting idea, but requires that we extend the hook that allows to block recipients because that information is currently simply not available to that hook.

BenK’s picture

Ah, 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

Berdir’s picture

Title: User Blocking Rules: Add support for new "Reply only" permission » 'Reply only' rules
Component: Code » Code (pm_block_user)

We 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.

Berdir’s picture

tugis’s picture

This would be a really useful functionality.

Subscribing

Berdir’s picture

Status: Postponed » Active
ivnish’s picture

Issue summary: View changes
Status: Active » Closed (outdated)