LPS-40597

Hi Sergio,

I added some permissioning for these 3 portlets: Documents and Media Portlet, Documents and Media Display Portlet, and Media Gallery Portlet. It checks for whether or not the user has permissions to view that root folder. If they don't, it displays an error saying that the user doesn't have permissions to view that folder.

My test case for that one is to add a folder, a subfolder, and then an item in the subfolder. I would remove all permissions from the subfolder and then check with a guest user to see if they see the file. I will then add the permissions back to the subfolder and remove all the permissions from the top folder.

I also added an upgrade method in UpgradeJournal to upgrade the new resource actions for journal. It just grabs the permissions from the resource action xml, and checks and add the permissions to the table.

Could you also provide me some guidance for writing the integration tests?

Thanks,
Eric