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

Featurekamo-shared-library
Shipped
April 20, 2026 at 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?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing