49 | | * The permission `CODE_REVIEW_DEV` and `CODE_REVIEW_MGR` must be assigned as appropriate. |
| 49 | === Permissions |
| 50 | The permission `CODE_REVIEW_DEV` and `CODE_REVIEW_MGR` must be assigned as appropriate. |
| 51 | |
| 52 | Only users with permission {{{CODE_REVIEW_DEV}}} may perform any code reviews. |
| 53 | |
| 54 | Permission {{{CODE_REVIEW_MGR}}} is for administration of code reviews. |
| 55 | |
| 56 | === Workflow operation for reviews |
| 57 | You may configure a custom workflow operation {{{set_review_owner}}} for reviews. |
| 58 | {{{#!ini |
| 59 | [peerreview-resource_workflow] |
| 60 | change_owner = * -> * |
| 61 | change_owner.name = Change Owner to |
| 62 | change_owner.operations = set_review_owner |
| 63 | change_owner.permissions = CODE_REVIEW_MGR |
| 64 | }}} |
| 65 | This operation allows you to change the owner of a review. Possible users are taken from the same list as the one used when creating a review. In the given example you need the permission {{{CODE_REVIEW_MGR}}} to perform the operation. |
| 66 | |
| 67 | === Project list |
| 68 | When creating a review you may specify an associated project. The projects are taken from the list created by SimpleMultiProjectPlugin. IF you don't have this plugin installed or you want to create another list you may do so using the following settings. |
| 69 | {{{#!ini |
| 70 | [peerreview] |
| 71 | projects = Project1, Project2, Project3 |
| 72 | }}} |
| 73 | |