When You @mention a Colleague Outside the Project, How Much Should the Notification Reveal?

Mention a colleague without access on a private issue, and the email subject and preview may already deliver the content even if the link is blocked. What a notification may carry for each permission level, why a plain mention differs from an explicit collaboration request, and why the check must run again right before sending.

John Baek
John Baek
Founder, CollabOps
2 min read

A comment lands on a private issue: "Could the settlement team take a look?" The author @mentions a colleague at the same company. That colleague has no access to the issue. But if the email subject reads "Settlement discrepancy found" and the body preview includes the amount, blocking access when they click the link is too late. The content has already been delivered.

When designing mentions, decide "who gets notified" together with what you are allowed to send that person. If picking a name automatically shares the issue or invites the person to the project, even the author can't tell how much they just opened up.

A notification is itself a disclosure. Lock the screen behind the link but send the subject and preview as-is, and the permission check happens after the content is already out.

What should a notification contain, given the recipient's permissions?

Nothing beyond what the recipient could actually read. Broken down by permission level (the scenario and wording are illustrative):

Recipient's permissionsExample of what may be sentWhen the link is opened
Can read the issue and that commentIssue title, permitted comment previewRe-check permission, then jump to the comment
Can read the issue, but the comment is privateNo notification for a mention made inside a private commentSees only the issue content already permitted
Project existence is visible and access requests are allowedOnly when the author chooses an explicit collaboration request: project name and how to request accessGoes to an access-request screen with no issue title
Project existence is private tooNo notification to the outside recipientThe author is shown the sharing process available to them

How should a bare mention differ from a collaboration request?

Typing a colleague's name and having someone with sharing rights deliberately send a collaboration request should produce different results. That is why the third row matters most in practice. The latter email can say something like "You can request access to the Booking Operations project." There is no need to put the private issue number or part of the comment in the subject. Slack behaves similarly: people outside a private channel don't see its mention notifications or messages until they are invited.

What if permissions change between the mention and the email going out?

Re-evaluate what the email may contain right before sending, and re-check read access at the moment the link is opened. In acceptance testing, slip a time gap into the scenario. A mention is created at 9:00 a.m., the recipient is removed from the project at 9:01, and the notification email goes out at 9:02. If the preview generated when the mention was written is sent unchanged, private content arrives after the permission was revoked.

The rule: check what the email may contain right before it is sent, and check read access at the moment the link is opened, and it applies just as much to search and recent activity on a shared repository. Emails already sent are hard to recall, so for sensitive projects the preview length itself is worth making part of product policy.

  • #permissions
  • #notifications
  • #security
  • #product
  • #developer-experience