cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Role to view only the properties of a document and not the content

antonv
Champ in-the-making
Champ in-the-making
Hi,

I'm new to Alfresco, and our company would like to have a user permission that would allow a user to view only the properties of a document and not the content.  So far, the only way I could think of is to create a custom role, so that any user with this role will only be able to read the properties of all documents in a folder.

Here is the custom role that I have added in permissionDefinitions.xml


<permissionGroup name="ReadProps" allowFullControl="false" expose="true">
   <includePermissionGroup type="sys:base" permissionGroup="ReadProperties"/>
   <includePermissionGroup type="sys:base" permissionGroup="ReadChildren"/>
</permissionGroup>


Now users with this role get to view only the properties of a document.  The problem is they cannot search for any document within the space.  They have to know the location of the document beforehand and navigate to the folder, and there click on details to view the properties.

Is there any way to make the documents searchable to these users without making their content readable?

Adding "ReadContent" to the permissionGroup would make the documents searchable, but then their contents would be readable also.

Any help will be greatly appreciated.

Thanks!

Regards,
Anton
2 REPLIES 2

yogeshpj
Star Contributor
Star Contributor
Are you using alfresco share or alfresco explorer ?

antonv
Champ in-the-making
Champ in-the-making
-anton