Skip to content
Snippets Groups Projects
Commit 1111f2f8 authored by Uma's avatar Uma
Browse files

Checkpermission genralized on security issue

parent 874154c7
No related branches found
No related tags found
1 merge request!384Checkpermission genralized on security issue (1147)
......@@ -27,6 +27,9 @@ class Accounts_TransferOwnership_Action extends Vtiger_Action_Controller {
if($permissionStatus){
$this->transferRecordIds[] = $recordId;
}
if(empty($this->transferRecordIds)){
throw new AppException(vtranslate('LBL_RECORD_PERMISSION_DENIED'));
}
}
return true;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment