Forums

Home » Liferay Portal » English » 2. Using Liferay » General

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Archi Madhu
Track addition/removal of portlets
August 16, 2011 10:46 AM
Answer

Archi Madhu

Rank: Regular Member

Posts: 240

Join Date: March 24, 2008

Recent Posts

Hello,

Is there a way to turn on audit to track changes like adding and removal of portlet?

We have encountered multiple times where portlet were removed or added by someone in production causing problems.

Thanks,
Archi
David H Nebinger
RE: Track addition/removal of portlets
August 16, 2011 11:56 AM
Answer

David H Nebinger

Community Moderator

Rank: Liferay Legend

Posts: 11793

Join Date: September 1, 2006

Recent Posts

This would be a reflection of your insecure setup. If users should not be able to add/remove portlets on a page, you should make sure that they can't do it.

Otherwise, no I don't believe there is any sort of auditing on what happens to a particular page.
Hitoshi Ozawa
RE: Track addition/removal of portlets
August 16, 2011 3:38 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

I'm using JBoss + Liferay in production and when a portlet is deployed/undeployed, it shows up in JBoss's server logs.

I agree with what David is saying about security. Users shouldn't be allowed to just deploy/undeploy portlets in a production environment.
Recommend setting up user permission on deploy and Liferay directories.