LPS-32269 If folder has permission give children files permission
LPS-32269 If category has permission give children threads permission
LPS-32269 If node or page has permission give children pages permission
LPS-32269 Always check permissions.view.dynamic.inheritance in Categories/Folders
LPS-32269 minor logic change and source formatting
LPS-32269 Return false if either VIEW or ACCESS of one of the parents is false
LPS-32269 Remove unneeded if statements
LPS-32269 actionId should not be null, so use actionId.equals instead of Validator.equals
LPS-32269 Change logic: 1.) When PERMISSIONS_VIEW_DYNAMIC_INHERITANCE is true, only check VIEW permission and return false as soon as one of the parents is false. 2.) When PERMISSIONS_VIEW_DYNAMIC_INHERITANCE is false, only return when you find a true, if it's false, the greatparent can still be true.
LPS-32269 Source formatting
LPS-32269 Source formatting - slight performance improvement