juanferrub/liferay-portal — pull request #199 by KocsisDaniel (2012-04-20 11:28:41+00:00)
Title: [TECHNICAL SUPPORT] LPS-26414

Issue: on the Alerts portlet the user can not create new entry despite the fact that you have permission.

This PR has been send twice, first Sergio said to Zsolt to use model level permission checking but in this case since both announcements and alerts portlet use the same codebase we wouldn't be able to separate the permissions except we separate-recreate the whole code. So for that solution Brian said:

"ADD_ENTRY is something that should be checked on the portlet, and not on the announcements entry itself."

So he followed that way, and make the permission checking to use the portlet level.

Thanks,
Daniel