Bugzilla::User methods for obtaining user ID info
gerv at mozilla.org
Wed Nov 27 14:53:18 UTC 2013
On 27/11/13 14:41, Frédéric Buclin wrote:
> The email address is not displayed in the UI, it's used to build a URL.
> The URL itself is not displayed in the UI, only its link is. Maybe
> "never see" is more exact than "nor access". In my sentence above, I
> really meant that we should never display the full email address, not
> that it can never be used.
So: I want to make it possible for Bugzilla, either as an option or
using an extension, to conceal a user's email address entirely.
> Unrelated to your question, I always thought it was a bad idea to
> include these mailto: links for commenters. I hate when someone writes
> to me directly to ask questions (generally, support questions related to
> the bug). I would much prefer that questions remains in the bug itself
> or be moved to the support mailing-list.
If we were to remove such links, then I think it would be possible to
move to a situation where email() was only used for sending email (and
one user's email was never given to another user in any way), and
login() was used for everything else. That would make my goal possible.
Are you in support of making that change?
If not, perhaps we could have the User object have a (better-named)
email_for_display() and email_for_sending() methods, and a Pseudonymity
extension could override one and not the other.
dev-apps-bugzilla mailing list
dev-apps-bugzilla at lists.mozilla.org
More information about the developers