Permission definition on Document type

Hi All, I have to restrict access based on document type. i.e, fo example only a group of users can have acees to 'file'/ any document.

Please give any pointers for the issue.

Thanks In Advance, ND.

0 votes

1 answers

2256 views

ANSWER



Hi,

I guess you can look into security policies.

Be careful how you implement this, it can have a big impact on performance.

0 votes



thanks Anahide.
10/19/2012

Thanks Anahide. Our requirement is to limit the access to a custom document type for a group of users. For this we made a security policy extension(as mentioned in the given link) and it works. It checks whether the user has a given permission and based on that decides whether to display the document.

You have mentioned that this could have big impact on performance. Since Nuxeo calls the checkPermission method for all documents, could you please let us know the impact on adding additional checks in that method.

10/22/2012