Thanks!!
in this file
share-header.lib.js located at share\WEB-INF\classes\alfresco\site-webscripts\org\alfresco\share\imports
so my goal was dont allow user to leave site and comment this part
else if (siteData.userIsMember)
{
// If the user is a member of a site then give them the option to leave…
/* siteConfig.config.widgets.push({
id: "HEADER_LEAVE_SITE",
name: "alfresco/menus/AlfMenuItem",
config: {
id: "HEADER_LEAVE_SITE",
label: "leave_site.label",
iconClass: "alf-leave-icon",
publishTopic: "ALF_LEAVE_SITE",
publishPayload: {
site: page.url.templateArgs.site,
siteTitle: siteData.profile.title,
user: user.name,
userFullName: user.fullName
}
}
});*/
}
its work!!
now in the same way ill try to remove in header my files and shared file
Thanks!!