cancel
Showing results for 
Search instead for 
Did you mean: 

How to hide the folders in Alfresco Share - Repository

andy2_0
Champ in-the-making
Champ in-the-making
There are several pre-defined folders in Alfresco Share - Repository, such as IMAP Attachment, Data Dictionary and Sites

For the end users, some of these folders are too technical, for example, the data dictionary, and they may cause confusion to them. So here comes my question, how to hide these folders to end users.

Another question is, for the site folders, even the user doesn't have access to them, he/she can still see the folders, is it reasonable?

Thanks for help!
10 REPLIES 10

mitpatoliya
Star Collaborator
Star Collaborator
you can simple remove permission by unchecking inherit permission check box from all those folders and invite only users to whom you wish to show those folder.

mrogers
Star Contributor
Star Contributor
I wouldn't do that especially for the data dictionary.

Two thoughts.
A) A why are you looking at the "repository view" if you don't want to see " the repository view."
B) can you change the "mount point" of the repository view.

andy2_0
Champ in-the-making
Champ in-the-making
Thanks for both MITS and MROGERS' response, I followed Mits solution and it did work.

However For Roger's comment "I wouldn't do that especially for the data dictionary", my understanding is, if the user don't have any access to data dictionary, then the user can neither create docs from a template, nor execute the scripts, because they are all located in data dictionary. Am I right?

You mentioned the solution change the mount point of repository view, how to do it?  Thanks a lot!



mitpatoliya
Star Collaborator
Star Collaborator
Ahhhhh I missed that point Thanks mrogers for highlighting that.

For changing mount point to repository you need to change it in share-config-custom.xml as follow.


<!– Root nodeRef for top-level folder –>

<root-node>NodeRef of your repository folder which you want keep as startingpoint</root-node>
Additionally, the Share DocLib supports a few "virtual" nodeRefs, namely:

<root-node>alfresco://company/home</root-node>

<root-node>alfresco://user/home</root-node>
<root-node>alfresco://sites/home</root-node>

andy2_0
Champ in-the-making
Champ in-the-making
Thanks for MITS' always support!!

ajock714
Champ in-the-making
Champ in-the-making

Can you explain little more detail .... am using alfresco community edition 5.1

am not able to find the fields on the file

I think that option is still there.

<config evaluator="string-compare" condition="RepositoryLibrary">

      <!--

         Root nodeRef for top-level folder.

      -->

      <root-node>alfresco://company/home</root-node>

Modify above config based on your requirement and put it in share-config-custom.xml

douglascrp
World-Class Innovator
World-Class Innovator

Hey Mittal Patoliya

Usually what I do for cases like this is to use the Dynamic Extension Module to create a custom config and change the root-node.

The default share configuration is changed as you described, and then "normal" users wont see those folders, but I also have a custom module overriding that configuration for administrators, and only for them, I let the default root-node configured, and by doing so, they are allowed to navigate too those system folders.

Douglas,

Como acesso ou modifico o Módulo de Extensão Dinâmica?