KamoCRM

Make role rights DTOs enum-driven and add security model rights sync

Featurekamo-shared-library
Shipped
20 ஏப்ரல், 2026 அன்று 5:06 PM UTC
Author
Kamo
Commit
243517b

- SecurityRoleDTO.fromOrgRole(): enumerate all RoleRightType values with DB settings as lookup — new rights appear with NOT_SPECIFIED automatically - **************** same enum-driven approach for security model default roles - OrgRoleRight.type: add explicit @Enumerated(EnumType.ORDINAL) annotation - **************** add insertIfAbsent native query for startup and on-demand sync

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing