Is there a way to hide the ACCESS tab in the Profile view of Regular Users? I do not want my employees knowing what they’ve been blocked from accessing. I Googled this and read the documentation but could not find any answers.
Thank you in advance!
Is there a way to hide the ACCESS tab in the Profile view of Regular Users? I do not want my employees knowing what they’ve been blocked from accessing. I Googled this and read the documentation but could not find any answers.
Thank you in advance!
Please can you try setting SHOW_ROLES = false as shown in below steps.
<?php
if (!defined('sugarEntry') || !sugarEntry) {
die('Not A Valid Entry Point');
}
require_once('modules/Users/views/view.detail.php');
class CustomUsersViewDetail extends UsersViewDetail{
public function __construct()
{
parent::__construct();
}
public function preDisplay()
{
parent::preDisplay();
$show_roles = false;
$this->ss->assign('SHOW_ROLES', $show_roles);
}
}
Thank you so much Harshad! This worked! I appreciate you and your quick response.
Could you please mark the answer as solution as it would help others too. Thanks!