In a UX-focused discussion titled “Allow TL0 to write messages to staff group, not to other members or non staff?”, tobiaseigen reports that TL0 users receive a confusing error when trying to message a staff group—even though the group is set to accept messages from “everyone”—unless the user is TL1 or higher. The issue arises because the site-wide setting “min trust to send messages” overrides group-level permissions. While no members have complained, tobiaseigen notes the error is off-putting and was flagged by a colleague. Suggestions included using email instead codinghorror, improving the error message simon, or removing PM links for TL0 users pfaffman. tobiaseigen clarifies the confusion around “this” and suggests enhancing the error to explain privilege restrictions. sam identifies the bug and proposes allowing group-level permissions to override the trust level setting, which codinghorror agrees with. pmusaraj implements and merges a fix that skips the “min trust” validation for group PMs, ensuring group settings (e.g., “everyone” or “members”) are respected regardless of user trust level. The fix is now live merged.
Is there any way to allow TL0 members to start messages to a specific discourse group, but not to other regular members or non staff members? I am currently not finding a way to make this work. When TL0 members write to our helpdeskteam group for help, they get an off putting and confusing error message - see below.
The TL0 user is writing to a group with “who can message this member” set to “everyone”. If I make the user TL1 the message is saved with no error.
Everyone in the group is staff, and the TL0 user can write to each one individually.
The only way to avoid this error seems to be to enable TL0 users to write messages to any other member or group, which I find to be too permissive. I think the privilege will be abused by spammers and new members who don’t know our community yet.
Yes, we do provide an email option for reaching the helpdesk. I am asking here if there is a way to prevent the weird, cryptic error that may be off putting to those who encounter it. Ideally it would just be permitted for TL0 members to write to the helpdesk group without getting an error.
To be clear, no members have complained about this but a colleague (my boss, in fact) was checking out the setup and pointed out the confusing error message.
You’re right - I typed more quickly than I was thinking. There are two “this” mentioned and I was thinking of two distinct cases.
With the first “this”, I am referring to the OP about not being able to write to groups as TL0. This is not complained about yet and it’s not a huge issue. If you don’t want to address it, we can close this topic. But I do think that allowing TL0 to start messages to staff and to certain groups would be very useful, so we don’t have to send members to email to contact staff for help.
With the second “this”, I am referring to an older situation, long since resolved in our community but still an edge case that I think might be worth looking at. In the past, we provided a link on member profiles in wordpress to send messages to members using the URL method, but removed it because people were bumping up against this cryptic error when they were still TL0 and unable to send PMs. Until we removed the link, we did get questions about it fairly frequently. There is an old topic about this second case: Creating pre-filled personal message links
Maybe the error could be changed to say “Sorry, you cannot send this personal message because you do not have sufficient privileges” or some such, accommodating both group and user recipients and explaining that it’s about privileges and not some technical glitch.
I agree this is confusing, it is tricky cause there is the site setting min trust to send messages so it has to win here. If you set it to 0 then I guess they can message the group.
I started working on this and noticed that the min trust to send messages is checked first on all PMs to groups. This means that TL0 users cannot message groups set to accept message from everyone. But it also means that a user with a TL below min trust to send messages cannot message a group set to accept messages from “members, moderators and admins”, even if this user is a member of the said group.
I think the fix here should be to skip validating min trust to send messages when PMing groups. This means that:
if team allows everyone to PM it… then everyone can PM it
if team allows group members to PM it, then all group members can PM it regardless of their trust level