Remove ‘users’ link from right upper corner

Hi,

I discovered that by pressing the “username” in the upper right corner (shot1), the editview screen is running (shot2) !!! This happens even the user doesn’t have admin privileges.

So I need to disable this option from users – it’s not the best practice to allow users to edit some data on their tab.

I have spent a lot of time in order to find out a way to remove the link but unfortunately without result. I tried to remark the below line:

  • {$CURRENT_USER}
  • on \…\themes\Suite7\tpls_globalLinks.tpl but there is not affect any change.

    Do you have any idea regarding that ? I’m working on version 7.3.1

    Thank you in advance for your time.

    Regards,

    Hi,

    Navigate to the file /themes/SuiteR/tpls/_headerModuleList.tpl

    Copy this file and place it in the location:

    /custom/themes/SuiteR/tpls/

    so it becomes /custom/themes/SuiteR/tpls/_headerModuleList.tpl

    This directory location will likely not exist already, so if it doesn’t, you can create it. Make sure that you type it exactly as I have to ensure that this works.

    In this newly pasted file, find the line at roughly line 294:

    {$CURRENT_USER}

    edit this line so it becomes:

    {$CURRENT_USER}

    and run a Quick Repair & Rebuild in your CRM and Clear your browser’s cache.
    This should disable that link if done correctly!

    2 Likes

    Dear John,

    It works fine !!!

    Thank you so much for your help !!!

    Just a minor correction: The correct line is 249 insted of 294 :wink:

    Best Regards,