arboliveira/liferay-portal — pull request #26 by gallindo (2014-12-09 17:53:38+00:00)
Title: LPS-44481 Format source

Hey @gallindo

Can you please review my changes?

I used a different permission checking that I think it makes more sense. Basically, we are displaying the workflow definitions only when the user has permission to update the folder, because that's what the user is intending to do when rendering that jsp, right?

I didn't test the solution, so can you please test it and make sure that everything is working as expected and we I'm not introducing any regression?

Thx!