Is there a way to control the granularity of messaging permission by userids. Right now privatemsg allows everyone with the messaging permission on the site to send a privatemsg to anyone who has allowed themselves to be contacted via privatemsg.

What I am wondering is, is there a way to make privatemsg work in a restricted fashion with "buddylist" or "User Relationships" modules where only users who have created a relationship amongst each other are allowed to privatemsg each other.

I know this feature is very specific and will most likely not be considered general purpose, but any hints/pointers appreciated.

Comments

berdir’s picture

No Idea about 5.x, but it would be very easy to implement in 6.x, as this does have a generic blocking-callback which also could be used for something you are describing.

drupdrips’s picture

Thanks. Yes the 5.x version also has the block user feature. Although I foresee a different twist in how I want to use this .. I think I will end up having to custom write some of this myself.

berdir’s picture

Status: Active » Closed (won't fix)

I'm closing old issues since Privatemsg for Drupal 5 is not maintained anymore. I suggest you switch to Drupal 6 if possible, many of the reported issues are probably already resolved there and if not, you're welcome to open a new issue.