diff options
author | lpsolit%gmail.com <> | 2005-06-21 04:16:26 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2005-06-21 04:16:26 +0200 |
commit | 5f173728faa3420461cb6f77b32f392bd58a1777 (patch) | |
tree | d61c10f776bc7ba3f01b1acbb62d76c3a6a0ef20 /process_bug.cgi | |
parent | de027530e15fc988f94411784abf368971ff8155 (diff) | |
download | bugzilla-5f173728faa3420461cb6f77b32f392bd58a1777.tar.gz bugzilla-5f173728faa3420461cb6f77b32f392bd58a1777.tar.xz |
Bug 76507: Replace "owner" by "assignee" (and "initial" by "default") - Patch by Tiago R. Mello <timello@async.com.br> r=LpSolit a=myk
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-x | process_bug.cgi | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/process_bug.cgi b/process_bug.cgi index 34444dfcf..d97474863 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -447,8 +447,8 @@ sub CheckCanChangeField { # variable which gets passed to the error template. # # $PrivilegesRequired = 0 : no privileges required; - # $PrivilegesRequired = 1 : the reporter, owner or an empowered user; - # $PrivilegesRequired = 2 : the owner or an empowered user; + # $PrivilegesRequired = 1 : the reporter, assignee or an empowered user; + # $PrivilegesRequired = 2 : the assignee or an empowered user; # $PrivilegesRequired = 3 : an empowered user. # Allow anyone with "editbugs" privs to change anything. @@ -468,7 +468,7 @@ sub CheckCanChangeField { # START DO_NOT_CHANGE # $reporterid, $ownerid and $qacontactid are caches of the results of - # the call to find out the owner, reporter and qacontact of the current bug. + # the call to find out the assignee, reporter and qacontact of the current bug. if ($lastbugid != $bugid) { SendSQL("SELECT reporter, assigned_to, qa_contact FROM bugs WHERE bug_id = $bugid"); @@ -477,7 +477,7 @@ sub CheckCanChangeField { } # END DO_NOT_CHANGE - # Allow the owner to change anything else. + # Allow the assignee to change anything else. if ($ownerid == $whoid) { return 1; } @@ -494,7 +494,7 @@ sub CheckCanChangeField { # The reporter may not: # - reassign bugs, unless the bugs are assigned to him; # in that case we will have already returned 1 above - # when checking for the owner of the bug. + # when checking for the assignee of the bug. if ($field eq "assigned_to") { $PrivilegesRequired = 2; return 0; @@ -1770,7 +1770,7 @@ foreach my $id (@idlist) { } # save off the old value for passing to Bugzilla::BugMail so - # the old owner can be notified + # the old assignee can be notified # if ($col eq 'assigned_to') { $old = ($old) ? DBID_to_name($old) : ""; |