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
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.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.