leave site button

cancel
Showing results for 
Search instead for 
Did you mean: 
amar7295
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
sanjaybandhniya
Intermediate

Re: leave site button

Hi,

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

afaust
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.