Is there any ways to disable/hide repository menu for non-admin user while logging in portal.
There is a simple default configuration out-of-the-box with which you can configure the Repository to be visible or not in the menu. You can configure this via share-config-custom.xml
<config evaluator="string-compare" condition="RepositoryLibrary"> <!-- Hide the Repository header link for non-Admin users --> <visible>false</visible> </config>
Hi,
I think this is what you need
Removing a menu item (Aikau) | Alfresco Documentation
Regards
Hi Mikel,
I have already gone through document disable custom header.But i was not able to hide the repository browser for non-admin users.
Thanks Axel. Its working fine.
Hi Axel the link to the repository is hidden, but my users still access the repository by goinig to "/share/page/repository" there is some way to intercept the call to the page link "repository" for appling my own evaluator or even better with some surf extension?
For now i just modify the "/share/WEB-INF/classes/alfresco/site-data/pages/repository.xml" and change the authentication level:
<?xml version='1.0' encoding='UTF-8'?><page> <title>Repository Browser</title> <title-id>page.repository.title</title-id> <description>Browse content across the whole Repository</description> <description-id>page.repository.description</description-id> <template-instance>repository</template-instance> <authentication>admin</authentication><!--instead of user --></page>
but the solution is to static for me.