brunobasto/liferay-portal — pull request #101 by marcellustavares (2014-05-26 20:08:47+00:00)
Title: [TECHNICAL-SUPPORT] LPS-47142 Non-Omniadministrator Users are unable to add Repeatable Fields to Web Content articles through the Asset Publisher

Hi Marcellus,

this issue is really similar to "LPS-44837 Site editors can't add values to repeatable fields".
However, it handles the use case when the article is edited through the Asset Publisher.

It is a special use case, as in **JournalArticleAssetRenderer** (and in other \*AssetRenderer classes as well, so I don't think we should change this) the **getURLEdit** method uses **getControlPanelPlid(liferayPortletRequest)** to define the plid.

This causes that **hasAccessPermission** in **ServicePreAction** will be false.

Changing the **controlPanelCategory** to **portlet** will work from the control panel and from the Asset Publisher as well.

Could you please review my changes?

Thanks,
Tamás