Hide or Remove "ACCESS" Tab from Regular User Profile View

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.

  1. Create a new file for the detail view at {ROOT}\custom\modules\Users\views\view.detail.php
  2. Copy the following content in it
<?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);
	}
}
  1. Quick Repair & Rebuild
    image
1 Like

Thank you so much Harshad! This worked! I appreciate you and your quick response.

1 Like

Could you please mark the answer as solution :white_check_mark: as it would help others too. Thanks!