Skip to content

feat(Obfuscation): add obfuscation guidelines

Dan MH requested to merge email-obfuscation-guidelines-danmh into main

What does this MR do?

Email obfuscation came up in gitlab-org/gitlab!108901 (comment 1239082646) and it looks like it is a new pattern.

This MR documents the pattern decided so we can use it consistently across the product.

Want to use email obfuscation in code?

You can obfuscate emails from any place in the backend application with Gitlab::Utils::Email.obfuscated_email("see@me.com.uk", deform: true) (maybe , deform: true can be omitted when we decide we only want to have one version of email obfuscation).

Want to help document other obfuscation patterns?

Contribute to the follow up issue Improve obfuscation guidelines with further exa... (#1520)

Does this MR meet the acceptance criteria?

Links

Edited by Dan MH

Merge request reports