Friday, March 23, 2018

Programmatically Change Permission of a File/Document in Lilferay


Sometimes we need to change the permission of a document to Guest in Liferay. For this we can change this by Groovy Script or programatically. Today we will change this programatically:-

So lets start this:-
You can simply use this code to change the permission to guest. In this first we check the folder permission and then file permission:-





No comments:

Post a Comment

Total Pageviews

Number Of Unique Visitor

Free counters!