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

Record level sharing access permission has been checked

parent a6fbe719
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,7 @@ class Vtiger_Detail_View extends Vtiger_Index_View {
public function requiresPermission(Vtiger_Request $request){
$permissions = parent::requiresPermission($request);
$mode = $request->getMode();
$permissions[] = array('module_parameter' => 'module', 'action' => 'DetailView');
$permissions[] = array('module_parameter' => 'module', 'action' => 'DetailView', 'record_parameter' => 'record');
if(!empty($mode)) {
switch ($mode) {
case 'showModuleDetailView':
......
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