Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
Cindy Dalfovo
Help with new Permissions
December 17, 2008 10:44 AM

Cindy Dalfovo

Rank: New Member

Posts: 8

Join Date: November 3, 2008

Recent Posts


I need to make some modifications in the message boards portlet.

The messages needs to be approved before they can be seen by everyone else. I created the field "approved" in the service.xml and ran the ServiceBuilder.

Also, I create the approveMessage methods in MBMessageServiceImpl and MBMessageLocalServiceImpl, and in the first I check for permissions (which I've created in the resources-actions).

So, I guess I'm doing it alright so far - but I have NO idea how to implement a button to approve the message or to display only the approved messages...