leave site button

Showing results for 
Search instead for 
Did you mean: 
Active Member

leave site button

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,


2 Replies
Senior Member II

Re: leave site button


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

Thanks & Regards,

Re: leave site button

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.