user roles?

Joel Peshkin bugreport at peshkin.net
Tue May 10 16:50:07 UTC 2005


Gervase Markham wrote:

> 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
> -
>
You can also set the defaults for a user based on the role and then use 
bug 262592 to permit the user to override the simplification and 
remember the state of that override using a cookie.

-Joel




More information about the developers mailing list