Pseudonymity in Bugzilla

Simon Green sgreen at
Sun Nov 17 00:37:28 UTC 2013

On 16/11/13 02:47, Gervase Markham wrote:
> I need to create a Bugzilla instance where all the users are
> pseudonymous. Specifically, therefore, I need to avoid anyone finding
> out anyone else's real email address, while still retaining those
> addresses to send bugmail. (I can set their real names to something
> pseudonymous; if they want to de-cloak themselves explicitly, that's up
> to them.)
> Idea 1 is to alter the "email_filter" function in Bugzilla/ to
> output a fake email address, in the same way that it currently outputs
> only the localpart if the user is not logged in. If this filter is used
> consistently throughout the templates, that should achieve my goal.
> Will that work, or is there something I've missed?

There are definitely other places that display the user's real e-mail
address. Of the top of my heads, the code in Bugzilla::WebService::Bug's
_bug_to_hash needs to be changed.

    if (filter_wants $params, 'assigned_to') {
        $item{'assigned_to'} = $self->type('email',


Simon Green
Software Engineer
Red Hat Asia Pacific Pty Ltd

More information about the developers mailing list