user roles?

Gervase Markham gerv at mozilla.org
Tue May 10 16:27:22 UTC 2005


Luis Villa wrote:
> Hey-
> Has anyone given thought to the notion of user roles in bugzilla? It
> strikes me that often in gnome, we want different default
> behaviors/queries/appearances depending on whether or not someone is a
> developer, bug filer, full-time QA person, manager, etc.; and while we
> wouldn't want to sacrifice the full-blown power of the query or bug
> interfaces, hiding them deeply (or having sane defaults) for
> developers, non-developers, etc. would make a lot of sense. Anyone?

Well, we already have a groups system, of course.

Two ideas: you could either just wrap bits of template in [% IF 
UserInGroup('developer') %] on a per-installation basis (which is the 
most flexible scheme, and doesn't require any base changes), or you 
could have some sort of automatic group-to-format mapping mechanism, 
such that if a format was not expressly specified, Bugzilla looked for a 
format named after any of a user's groups, in a given order.

Gerv



More information about the developers mailing list