d9d9de759f
fix(auth): fix /me route to properly send user data, now also includes module accesses for user.
2025-12-19 15:39:18 -05:00
Matthieu Haineault
f9a247d9f1
feat(csv): ajusted csv logics and minor fixes to employees
2025-12-12 13:26:09 -05:00
e6c949e40b
fix(modules): moduleguards properly compare user_module_access to module_list, rather than user_roles to module_list
...
Optimize toStringFromBoolean mmethod to immediately return an array of Module strings rather than an object of string-string objects that needs to be filtered and manipulated further.
2025-12-02 09:06:08 -05:00
Matthieu Haineault
6b0763f277
refactor(module_access): changed the dto to use string instead of boolean for module_access and made a mapper to switch between boolean and string.
2025-12-01 14:44:25 -05:00
Matthieu Haineault
98180dd16b
refactor(employees): adapted logics to match new userModuleAccess and cleaned module of unused methods
2025-12-01 11:28:42 -05:00
Matthieu Haineault
ddb469cd8e
feat(decorator): create a new Access decorator and added external_payroll_id to findEmployee
2025-12-01 08:34:08 -05:00
Matthieu Haineault
1a0532846f
feat(role-guards): added role-guards group and added role check to controllers
2025-11-05 14:27:54 -05:00
Matthieu Haineault
6c44bb5ad2
refactor(modules): moved some module to change the structure to domain oriented
2025-10-27 09:50:22 -04:00