Merge pull request #6198 from rmehta/hotfix

[minor] validate permission in Process Payroll and all products fix for home page