cancel
Showing results for 
Search instead for 
Did you mean: 

leave site button

amar7295
Champ on-the-rise
Champ on-the-rise

hello team,

i want to disable the "Leave site" button for non admin user. i have tried the solutions from Alfresco Hub, but still it shows the "Leave site" button for non admin user.

Please provide me solution for this.

kind regards,

amar

2 REPLIES 2

sanjaybandhaniya
Elite Collaborator
Elite Collaborator

Hi,

You need to override collaboration-title.get.js file to disable Leave Site option.

Overriding the collaboration-title.get.js file no longer works since Alfresco 4.2/5.0. That was the old approach to remove that link before the advent of Surf Extension modules.

You may want to check the documentation on customising the Share header for details on how to modify the site menu / title, including the ability to remove the leave site link.