To manage better the users with the template is recommended to create PROFILES that contains ROLES. PROFILE defines what a person is accessing the system, and the ROLES defines which endpoints that user can access. The JWT needs to be updated with this brand new rule and bring both PROFILE and ROLES of that user, for what the front can restrict access to some menus, functionalities, or screens (depend on the use of this on frontend).
To manage better the users with the template is recommended to create PROFILES that contains ROLES. PROFILE defines what a person is accessing the system, and the ROLES defines which endpoints that user can access. The JWT needs to be updated with this brand new rule and bring both PROFILE and ROLES of that user, for what the front can restrict access to some menus, functionalities, or screens (depend on the use of this on frontend).