SimplifyLeftAndMainDecorator::checkPermissions

checkPermissions loop through each permission, check if the current user has it, and add the permission.js or permission.css file as a requirement