[TECHNICAL-SUPPORT] LPS-32718 Ensure VIEW permission checking on DLFileEntryTypes (file types) where necessary

Hi Tamás,

I'm back with the new solution based on the discussion among Zsigmon, Alex, Sergio and me: http://in.liferay.com/web/global.engineering/forums/-/message_boards/message/1234333

I have added several comments to my changes per every commit. Please, review my changes and forward it to Sergio/Alex, or the next person in the component hierarchy.

We can discuss it on Monday.

Regards,
Tibor