leave site button

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
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,

amar

2 Replies
Highlighted
Senior Member II

Re: leave site button

Hi,

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

Thanks & Regard,
Sanjay
Highlighted
Master

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.