If required, it is possible to use the Share header menu bar in legacy mode, and hide the
Repository link. This means users will only be able to browse content
in document libraries of sites that they own, or are a member of.
-
Open the <configRootShare>/classes/alfresco/share-config.xml
file.
For example, on Tomcat, the file path for this file will be
<TOMCAT_HOME>/webapps/share/WEB-INF/classes/alfresco/share-config.xml
-
Locate the <!-- Global config section --> section.
-
Copy the entire <header></header> section, and then close
the file.
-
Open the <web-extension>/share-config-custom.xml file.
-
Locate <!-- Global config section -->.
If you do not see the global configuration section, copy the full example from the
share-config.xml file.
-
Paste the <header></header> section into the
<web-extension>/share-config-custom.xml file.
-
Locate and comment out the following line from within the
<header></header>:
<item type="link" id="repository" condition="conditionRepositoryRootNode">/repository</item>
-
Save the share-config-custom.xml file, and then restart the
SkyVault server.
The Repository link is now not visible in the Share banner.