Changes

Jump to: navigation, search

Bugzilla:FAQ

1 byte added, 22:57, 6 April 2010
m
Can I restrict a user's ability to edit certain bug fields?
==Can I restrict a user's ability to edit certain bug fields?==
Users can only edit bugs if they are the Assignee, the QA Contact, or are in the '''editbugs''' group. (Certain fields can also be edited by the Reporter. Also, all users can ''always'' comment and CC themselves on bugs.) However, note that by default, '''all users are in the editbugs group'''. If you want to change this default, go to Administration -> Groups, choose "editbugs" and clear the "userregexp" field. Then you can use Administration -> Users to explicitly add back certain users into the "editbugs" group, if you want them to be able to edit every field on every bug in the system. (Also, you can use Administration -> Product Products -> (select product) -> Group Controls to give groups of users "editbugs" for specific products.)
If you want any finer-grained control than that, it requires code changes. You have to edit the <code>check_can_change_field</code> subroutine in the file <tt>Bugzilla/Bug.pm</tt>. The file has many comments to help guide your edits.
Canmove, confirm
345
edits

Navigation menu