How to restrict other user group members to view the Documents

Posted by MKD on Stack Overflow See other posts from Stack Overflow or by MKD
Published on 2013-08-27T13:08:06Z Indexed on 2014/06/04 3:25 UTC
Read the original article Hit count: 98

Filed under:
|

I have created an Organization which has four user groups. I want to restrict the user group to view the file uploaded by the other user group.

i.e

  • Organization 1

    • User Group 1

      • A
      • B
    • User Group 2

      • C
      • D
    • User Group 3

      • E
      • F
    • User Group 4

      • G
      • H

I am using CustomLanding hook to land on the organization page.

From above, If A uploads a document, it can be viewed only by B in user group 1.

Like the same I want to restrict the viewable condition to other groups also.

Please guide me to achieve this.

Regards, Dinesh.

© Stack Overflow or respective owner

Related posts about liferay-6

Related posts about liferay-aui