HOR-823: Usuarios operadores no pueden ver 'Summary' de casos en la bandeja 'Unassigned'
correciones
This commit is contained in:
@@ -93,6 +93,7 @@ class HttpProxyController
|
|||||||
*/
|
*/
|
||||||
public function call ($name)
|
public function call ($name)
|
||||||
{
|
{
|
||||||
|
$result = new stdClass();
|
||||||
try {
|
try {
|
||||||
$result = $this->$name( $this->__request__ );
|
$result = $this->$name( $this->__request__ );
|
||||||
|
|
||||||
@@ -122,7 +123,7 @@ class HttpProxyController
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
$result->error = $e->getMessage();
|
$result->error = $e->getMessage();
|
||||||
|
$result->exception = new stdClass();
|
||||||
$result->exception->class = get_class( $e );
|
$result->exception->class = get_class( $e );
|
||||||
$result->exception->code = $e->getCode();
|
$result->exception->code = $e->getCode();
|
||||||
$result->exception->trace = $e->getTraceAsString();
|
$result->exception->trace = $e->getTraceAsString();
|
||||||
|
|||||||
@@ -187,10 +187,6 @@ class AppProxy extends HttpProxyController
|
|||||||
G::LoadClass( 'case' );
|
G::LoadClass( 'case' );
|
||||||
$case = new Cases();
|
$case = new Cases();
|
||||||
|
|
||||||
if ($RBAC->userCanAccess( 'PM_ALLCASES' ) < 0 && $case->userParticipatedInCase( $httpData->appUid, $_SESSION['USER_LOGGED'] ) == 0) {
|
|
||||||
throw new Exception( G::LoadTranslation( 'ID_NO_PERMISSION_NO_PARTICIPATED' ) );
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($httpData->action == 'sent') { // Get the last valid delegation for participated list
|
if ($httpData->action == 'sent') { // Get the last valid delegation for participated list
|
||||||
$criteria = new Criteria();
|
$criteria = new Criteria();
|
||||||
$criteria->addSelectColumn(AppDelegationPeer::DEL_INDEX);
|
$criteria->addSelectColumn(AppDelegationPeer::DEL_INDEX);
|
||||||
|
|||||||
Reference in New Issue
Block a user