Is there any ways to disable/hide repository menu for non-admin user while logging in portal.
Solved! Go to Solution.
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 Mikel,
I have already gone through document disable custom header.But i was not able to hide the repository browser for non-admin users.
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>
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.
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.