Back to index

Administration

System Roles

There are two roles that this plug-in adds to the TRAC system.  These are CODE_REVIEW_DEV and CODE_REVIEW_MGR.  The trac-admin tool is what should be used to give users these permissions.

CODE_REVIEW_DEV

A user with permissions CODE_REVIEW_DEV has permission to use the peer review system.  This type of user can create, view, and comment on code reviews. If the user is assigned to review a code review, the user can vote on the review.  If the developer is the author of a review, the user can see the vote totals, and, if the votes pass a manager-defined threshold, the user can submit the review for inclusion.  An author can also close their own code reviews, and resubmit their own code reviews.

CODE_REVIEW_MGR

A user with permissions CODE_REVIEW_MGR has all the permissions of CODE_REVIEW_DEV.  But a manager can see the vote totals on any review, regardless of the manager's status in relation to that review. A manager can also change the status of any review to any status, and has the ability to resubmit any review.  A user with this set of permissions can also access the code review options page, where the voting threshold needed for a developer to submit a review for inclusion can be changed.

Voting Threshold

This is the one major option that can be changed for the plug-in.  It is a value between 0 and 100 that represents the percentage of 'yes' votes (out of total possible votes) needed in a review before the "Submit for inclusion" option is available for the author of the review.

 

Back to index

Copyright 2005-2006 Team5