diff options
author | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-04-22 20:52:45 +0200 |
---|---|---|
committer | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-04-22 20:52:45 +0200 |
commit | 5bb84b3c6efc503652a14e59efbe2b7c548608dd (patch) | |
tree | c75323c210888cc942678f892dc0b84cbf868410 /Bugzilla/WebService/Product.pm | |
parent | d8e899bace75e1f4bd99443baaeaebac8b819251 (diff) | |
download | bugzilla-5bb84b3c6efc503652a14e59efbe2b7c548608dd.tar.gz bugzilla-5bb84b3c6efc503652a14e59efbe2b7c548608dd.tar.xz |
Bug 550732: Allow read-only JSON-RPC methods to be called with GET
r=dkl, a=mkanat
Diffstat (limited to 'Bugzilla/WebService/Product.pm')
-rw-r--r-- | Bugzilla/WebService/Product.pm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Bugzilla/WebService/Product.pm b/Bugzilla/WebService/Product.pm index eaec012a4..90c81dcc0 100644 --- a/Bugzilla/WebService/Product.pm +++ b/Bugzilla/WebService/Product.pm @@ -23,6 +23,13 @@ use Bugzilla::Product; use Bugzilla::User; use Bugzilla::WebService::Util qw(validate); +use constant READ_ONLY => qw( + get + get_accessible_products + get_enterable_products + get_selectable_products +); + ################################################## # Add aliases here for method name compatibility # ################################################## |