cancel
Showing results for 
Search instead for 
Did you mean: 

4.2.d Repository link not shown

tomapadre
Champ in-the-making
Champ in-the-making
Hello

I've install a fresh alfresco 4.2.d community.
When i login with admin user, i see the repository link, but when i login with another user the repository link not appears.

I'm searching and i found a ticket for Enterprise Version, but not the solution

https://issues.alfresco.com/jira/browse/ALF-18485

Can anyone help me?

Thanks
5 REPLIES 5

rjohnson
Star Contributor
Star Contributor
Check share-config-custom.xml. Chances are it has a line like


<item type="link" id="repository" condition="conditionRepositoryRootNode" permission="admin">/repository</item>


in it.

You can probably guess that removing permission="admin" will make the repository globally visible.

tomapadre
Champ in-the-making
Champ in-the-making
Hello

Thanks for you reply rjohnson.

This file (share-config-custom.xml) i was the first things that i check. i see in forums this change that you comments, but, in my share-config-custom.xml not appears the "admin" config.

This is my share-config-custom.xml line:

<item type="link" id="repository" condition="conditionRepositoryRootNode">/repository</item>

Thanks

rjohnson
Star Contributor
Star Contributor
All you posted for your share-custom-config.xml entry was

/repository

so I think you have missed out the code in error. Can you have another go at showing what is in your share-custom-config.xml and maybe post a larger chunk of the XML?

mitpatoliya
Star Collaborator
Star Collaborator
IF you want to port xml content in post surround it with "code" tag. Otherwise it will not be visible properly.

bopolissimus
Confirmed Champ
Confirmed Champ
Hi,

Dave Draper has some discussion here:

http://forums.alfresco.com/forum/end-user-discussions/alfresco-share/make-options-header-admin-only-...

It turns out that how the header is rendered is changed in 4.2.d.  The quick solution is to go into share-config.xml (not, share-config-custom.xml, I tried that, didn't work) find the legacy-mode-enabled block, set that to true and restart alfresco.

There's a bug in rendering the Sites dropdown (aesthetic only, could be worth fixing yourself).  There may be a better fix in 4.2.e when that comes out.  But for now, thats the one.

Another workaround would be to have the non-admin users create a Web View in their dashboard and point that webview at /share/page/repository.  It'll only be on their dashboard (not the header), but it'll be easy to get to.  Although the webview will be squashed if you put it in a narrow column.

Gerald