How to disable viewing a metadata that is properties of a document for custom Customer Role

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Active Member II

How to disable viewing a metadata that is properties of a document for custom Customer Role

Hii All,

I want to disable viewing of metadata that is properties of a document for custom customer role. I have removed ReadProperties but Now i cant see the file in my Repository though i have given permission to user with custom customer role.

Thanks,,

Piyush

4 Replies
Highlighted
Master

Re: How to disable viewing a metadata that is properties of a document for custom Customer Role

Alfresco's security model does not support restricting access that way. Since the name of a document is a property, as soon as you remove ReadProperties, the affected users can no longer see that document because even listing it with its name would require ReadProperties.

Highlighted
Active Member II

Re: How to disable viewing a metadata that is properties of a document for custom Customer Role

Hii @afaust ,

How could I remove visibility of metadata or Properties for Custom Customer role.

 

Thanks,

Piyush

Highlighted
Established Member

Re: How to disable viewing a metadata that is properties of a document for custom Customer Role

Like alex mentioned, you cannot remove read permissions from what i have read in the tutorials. I am a beginner so can't help much, but this is what i may try.

- keep the permissions as is

- find out the details view template and extend it to add permission checks before it loads all the properties in the view. Hide for not allowed user

- Disable edit properties in document browse and document details action group

- modify search result page to disable action based on permission which take user to view details page. 

Highlighted
Active Member II

Re: How to disable viewing a metadata that is properties of a document for custom Customer Role

Hii @bip1989 ,

GreaT Explanation.

Could please tell me the template where i should look to change this thing and any example like how to apply permission with that template. I hope you would provide me with path and location for the Template and how to use permission with it.

 

Thanks,

Piyush