Is there a way to hide all modules except attendance for all upcoming users?

I want to hide all modules on ERPNext 12 for all new users. I don’t want to do it manually again and again. Instead i want to set it once and every new user will have the same settings unless I assigned them some new roles.

Kindly guide.