Now I may not be at TL2 here, but I am at TL3 at TPM (a mod put me there for testing)
So when I am the sender, I cannot remove myself - which makes sense - , or anyone else either, when I am a receiver, I can remove myself only, but the option to add others via the “+” button is not present at TPM…
TL2+ users are able to add other users to PMs whether they are the topic starter or the recipient
TL1 PM creators cannot add or remove users.
TL1 PM recipients can remove themselves, but not add any new users.
According to our Trust Level breakdown, the above behavior seems correct (emphasis added):
@laughingriver the best thing to do would be to get the site updated. After that we can try to figure out any other factors that might be coming into play.
On our site we have “Enable personal messages” turned off because we must prevent adults from sending messages to youth without a parent or another adult copied. We do use personal messages to communicate between moderators and users.
The problem we have is when we click “Add or Remove” on an existing message, we can only remove receipients, we cannot add new ones. Is there another setting we need to set or is adding (even by moderators and admins) disabled because we have Enable personal messages turned off?
I was looking into a similar issue earlier today: Unable to add user to PM topic. In that case, the issue I’m finding is that regular users cannot invite users to a PM if the max invites per day setting is 0. For your case, it is the enable personal messages site setting that is probably the cause of the issue. When that setting is disabled, only admins can add users to an existing PM. Moderators cannot add users to a PM when enable personal messages is disabled.
Are you able to double check to see if admins are able to add users to PMs on your site? For this to work, the admin will have to be the user who initiates the personal message.
I am fairly certain that this behaviour is intentional, because it is written explicitly into the code. I’m not sure what the thinking is behind preventing moderators from adding users to a PM when the enable personal messages site setting is disabled. Possibly this is something that could be changed.
Has any thought been given to add an option (or just remove the restriction) to allow staff to add users to private messages they originated when enable personal messages is disabled?
We started experiencing issues with this after an update a few weeks ago. Users can remove other participants in a PM they own but are no longer able to add any users:
The invite permissions are set to anyone with TL2 (which my test user has) and “enable personal messages” is turned on. Max invites per day are set to 10. I haven’t yet found another reason why this would be an issue.
I got around to digging into this a little today, but am unable to reproduce the mentioned behavior. I attempted three messaging scenarios using the settings mention (PMs enabled and TL2 can invite up to 10 times a day):
Admin → TL2
TL2 → Admin
TL2 → TL2
I tried to see if subsequent replies would break the ability to add new users, but interestingly all of the above scenarios showed me an “Add” option for both the owner and participant. If anything, I feel like it’s a little too lax right now.
The only time I could get a “Remove” button with no “Add” option was when I was a TL1 participant of a PM someone else had started. I was able to remove myself, but could not add or remove others.
@sdpiowa@diakopter are you still seeing this issue? If so, can you see if you can nail down some detailed reproduction steps for me to try out?
Yes, I will study the TL of the people involved and the settings. I believe all the accounts are TL2, but I have changed some minimum TL settings for certain things. I will get back to you soon.
On our forum (hosted by Discourse), we’re also seeing the same issue. Our site has “invites” (for users to allow to send invites to non-users via email) disabled, and personal messages now only show a “Remove…” button (for non-admin users). Briefly looking at the code linked here
it would be my guess that there is no dedicated code (function/branch) to test whether a user has the permission to invite others to an existing personal message. Maybe this “test” was originally handled incidentally one way, and after a recent update the behavior changed, but unintentionally (as a a side effect)? It would be great if this could be promulgated into its own proper settings on the admin dashboard (“Allow thread starters to add users to existing personal message thread?” and “Allow any participant to add users to existing personal message thread?”)…
I think invite to topic (existing users) and forum (new users) are two different things and should be handled accordingly. I opened a PR to change this: