05-07-2017 02:55 AM
Is there any ways to disable/hide repository menu for non-admin user while logging in portal.
05-09-2017 06:34 AM
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>
05-08-2017 12:49 PM
05-09-2017 02:01 AM
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.
05-09-2017 06:34 AM
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>
05-09-2017 09:58 AM
Thanks Axel. Its working fine.
03-28-2019 03:35 PM
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.
Explore our Alfresco products with the links below. Use labels to filter content by product module.