diff options
author | mkanat%bugzilla.org <> | 2009-07-21 16:07:27 +0000 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2009-07-21 16:07:27 +0000 |
commit | e5164f3eff5adebb42bf63a8423beaed422ce7f6 (patch) | |
tree | 85faa863d1cf2191be05df913137c0ec754a8f38 /Bugzilla/WebService/Constants.pm | |
parent | c9ce039ea505c16c586dea94ad91d98bfc1ef0e3 (diff) | |
download | bugs-e5164f3eff5adebb42bf63a8423beaed422ce7f6.tar bugs-e5164f3eff5adebb42bf63a8423beaed422ce7f6.tar.gz bugs-e5164f3eff5adebb42bf63a8423beaed422ce7f6.tar.bz2 bugs-e5164f3eff5adebb42bf63a8423beaed422ce7f6.tar.xz bugs-e5164f3eff5adebb42bf63a8423beaed422ce7f6.zip |
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 <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
Diffstat (limited to 'Bugzilla/WebService/Constants.pm')
-rw-r--r--[-rwxr-xr-x] | Bugzilla/WebService/Constants.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Bugzilla/WebService/Constants.pm b/Bugzilla/WebService/Constants.pm index 83b4197aa..260ae9478 100755..100644 --- a/Bugzilla/WebService/Constants.pm +++ b/Bugzilla/WebService/Constants.pm @@ -87,6 +87,8 @@ use constant WS_ERROR_CODE => { # See Also errors bug_url_invalid => 112, bug_url_too_long => 112, + # Insidergroup Errors + user_not_insider => 113, # Authentication errors are usually 300-400. invalid_username_or_password => 300, |