HOR-823: Usuarios operadores no pueden ver 'Summary' de casos en la bandeja 'Unassigned'

correciones
This commit is contained in:
mcuiza
2016-04-21 12:56:27 -04:00
parent 84a88c9bc2
commit 9e3dffc813
2 changed files with 3 additions and 6 deletions

View File

@@ -186,11 +186,7 @@ class AppProxy extends HttpProxyController
G::LoadClass( 'case' );
$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
$criteria = new Criteria();
$criteria->addSelectColumn(AppDelegationPeer::DEL_INDEX);