cancel
Showing results for 
Search instead for 
Did you mean: 

Only latest version should be viewable

nikes
Champ on-the-rise
Champ on-the-rise
Hello folks,

I have a requirement in which there are some groups as A,B,C.

Group C is having administartor type of writes who can access all features of document.

My question is, when a document is updated its version is also incremented and viewable by all.

What if I want to restrict users other than Admin to have access to only latest version, all other versions should be archived or invible to normal users. Only Admin user can access all version of documents.

How to implememt above?

Thanks,
Nikesh
4 REPLIES 4

nikes
Champ on-the-rise
Champ on-the-rise
Still waiting for reply………..

please guide…..

zaizi
Champ in-the-making
Champ in-the-making
Access controls are defined in tomcat/webapps/alfresco/web-inf/classes/alfresco/public-services-security-context.xml.

Snippet from that file:

<!– =============== –>
    <!– Version Service –>
    <!– =============== –>

    <!– The version service does not have any restrictions applied at the moment. It    –>
    <!– does not use a node service that would apply any permissions.                   –>

    <bean id="VersionService_security" class="org.alfresco.repo.security.permissions.impl.AlwaysProceedMethodInterceptor" />

You might want to take a look at that file and read through the following wiki pages;

http://wiki.alfresco.com/wiki/Security_Services
http://wiki.alfresco.com/wiki/Authorization_And_Access_Control

Or you can just customise the webclient to only display version info for Admins.

nikes
Champ on-the-rise
Champ on-the-rise
Can you guide how to cutomize client for Admin who can view version history and other users can not?

nikes
Champ on-the-rise
Champ on-the-rise
Can anyone guide how configure web client to to achieve this?