Blocking other users' private messages does not work. When I go to any users profile page I see and can click on "Block messages" link. However, users still can send their messages to me.

Another minor related issue - I can see "Block messages" link on my own profile. I believe users should not see this link on their own profile pages, since they can not block their own private messages.

CommentFileSizeAuthor
#4 privatemsg.module.169107-2.patch1.18 KBjaydub

Comments

yngens’s picture

Well, it seems to work for normal users, but user #1. I don't know if it is intended behavior of the module, but I believe user #1 also should be able to block private messages from other users.

yngens’s picture

Title: Blocking other users' private messages does not work » User #1 can not block private messages from others. All users see bloking link on their own profiles.

changing subject line. probably i need to open separate issue for the second part.

yngens’s picture

Title: User #1 can not block private messages from others. All users see bloking link on their own profiles. » Users can send private messages on Compose page even after they were blocked

wrong alert. administrative user #1 can actually block others' private messages, but unfortunately other users also can block her too. which is not comfortable from administrative purposes - user #1 should always be able to send private messages to anyone on the site.

now this is one part of the story. another is that users can go to any user's profile and click on "Block messages" link. After that blocked user do not see "Write private message" link on a profile page of the user, who has blocked her. However, the blocked user is still able to send a private messages to anyone (even to those who blocked her) on "Compose" page of private messages box.

so i am changing subject line again.

jaydub’s picture

Status: Active » Needs review
StatusFileSize
new1.18 KB

Ok I see three issues here to sort out:

1) User should not be able to see any links on their own profile page for privatemsg actions
such as 'Block', 'Unblock', and 'Write to'. The current release seems to have already
addressed that.

2) Users should not be able to block admin user...attached patch addresses this

3) user is able to send message to user that has blocked them...I am able to select the user
that has blocked me on the compose page and attempt to send but the send _does_ fail
with the message that I cannot send to them. Is this still the case for you?

berdir’s picture

Status: Needs review » Closed (won't fix)

Sorry for pinging the participants, I am closing old issues.

This version of Privatemsg is not supported anymore, maybe it is already implemented in Privatemsg for Drupal 6 and if not, you are welcome to open a new issue for it.