From e5164f3eff5adebb42bf63a8423beaed422ce7f6 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Tue, 21 Jul 2009 16:07:27 +0000 Subject: Bug 505390: Make Bugzilla (and thus the WebService) throw an error when you try to add a private comment but aren't an insider. Patch by Max Kanat-Alexander r=LpSolit, a=LpSolit --- Bugzilla/WebService/Bug.pm | 7 +++++++ 1 file changed, 7 insertions(+) mode change 100755 => 100644 Bugzilla/WebService/Bug.pm (limited to 'Bugzilla/WebService/Bug.pm') diff --git a/Bugzilla/WebService/Bug.pm b/Bugzilla/WebService/Bug.pm old mode 100755 new mode 100644 index e88db0773..48e554f16 --- a/Bugzilla/WebService/Bug.pm +++ b/Bugzilla/WebService/Bug.pm @@ -1536,6 +1536,10 @@ The id you specified doesn't exist in the database. You did not have the necessary rights to edit the bug. +=item 113 (Can't Make Private Comments) + +You tried to add a private comment, but don't have the necessary rights. + =back =item B @@ -1546,6 +1550,9 @@ You did not have the necessary rights to edit the bug. =item Modified to return the new comment's id in Bugzilla B<3.4> +=item Modified to throw an error if you try to add a private comment +but can't, in Bugzilla B<3.4>. + =back =back -- cgit v1.2.3-24-g4f1b