fixed issue with permissions
Fixed permissions issue when calling payperiod/
Merge branch 'hotfix' into develop