mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-29 16:50:13 +01:00
2017-03-30 Fred Gleason <fredg@paravelsystems.com>
* Changed the result code of the 'AddCart' service when the cart already exists from '403' to '400'. * Changed the result code of the 'EditCart' service when attempting to set a forced length on a macro cart from '403' to '400'. * Changed the result code of the 'EditCart' service when attempting to set a forced length outside of the valid range from '403' to '400'. * Changed the result code of the 'Export' service when attempting to export from a cut with no audio content from '403' to '404'. * Changed the '401' result code of the 'EditCart' service to be 403. * Changed the '401' result code of the 'DeleteAudio' service to be 403. * Changed the '401' result code of the 'Export' service to be 403.
This commit is contained in:
@@ -101,10 +101,10 @@ void Xport::Import()
|
||||
}
|
||||
}
|
||||
if(!xport_user->editAudio()) {
|
||||
XmlExit("Unauthorized",401);
|
||||
XmlExit("Forbidden",403);
|
||||
}
|
||||
if(create&&(!xport_user->createCarts())) {
|
||||
XmlExit("Unauthorized",401);
|
||||
XmlExit("Forbidden",403);
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user