Bug 550732: Allow read-only JSON-RPC methods to be called with GET
r=dkl, a=mkanat git-svn-id: svn://10.0.0.236/trunk@260221 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -48,6 +48,16 @@ use constant DATE_FIELDS => {
|
||||
search => ['last_change_time', 'creation_time'],
|
||||
};
|
||||
|
||||
use constant READ_ONLY => qw(
|
||||
attachments
|
||||
comments
|
||||
fields
|
||||
get
|
||||
history
|
||||
legal_values
|
||||
search
|
||||
);
|
||||
|
||||
######################################################
|
||||
# Add aliases here for old method name compatibility #
|
||||
######################################################
|
||||
|
||||
Reference in New Issue
Block a user