Decouple UserType, add Role entity and management #6

Merged
ashan_rusiru merged 2 commits from change/newAuth into main 2026-10-19 12:57:59 +05:30
Owner

Removed all UserType logic and references, replacing them with a new Role model and management system. Introduced RoleManager service, repository, and API endpoint for role CRUD operations. Updated user flows and JWT claims to use RoleCode. Removed admin-only user CRUD endpoints. Updated DI, documentation, and error handling for consistency. Appsettings and DTOs now reflect the new role-based approach.

Removed all UserType logic and references, replacing them with a new Role model and management system. Introduced RoleManager service, repository, and API endpoint for role CRUD operations. Updated user flows and JWT claims to use RoleCode. Removed admin-only user CRUD endpoints. Updated DI, documentation, and error handling for consistency. Appsettings and DTOs now reflect the new role-based approach.
ashan_rusiru added 1 commit 2026-10-19 12:57:45 +05:30
Removed all UserType logic and references, replacing them with a new Role model and management system. Introduced RoleManager service, repository, and API endpoint for role CRUD operations. Updated user flows and JWT claims to use RoleCode. Removed admin-only user CRUD endpoints. Updated DI, documentation, and error handling for consistency. Appsettings and DTOs now reflect the new role-based approach.
ashan_rusiru added 1 commit 2026-10-19 12:57:49 +05:30
Merge branch 'main' into change/newAuth
CI/CD - erp auth / Build & Deploy (pull_request) Failing after 10m41s
b6e35ba4e9
ashan_rusiru merged commit 9f8e74b1ee into main 2026-10-19 12:57:59 +05:30
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: New_REP_SYSTEM/ERP_Auth_Service#6