(Opens New Window)
Mark as an Answer
Help with new Permissions
December 17, 2008 10:44 AM
Rank: New Member
Join Date: November 3, 2008
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...
Sign in to vote.
Please sign in to flag this as inappropriate.