Add granular role protection flags and Team Members system role

Featurekamo-shared-library
Shipped
March 24, 2026 at 4:20 PM UTC
Author
Kamo
Commit
9b12cb9

- Add isAllowEditTitle and isAllowEditSecurity flags to OrgRole entity - Rename roleEveryoneID to roleMemberID on Organization, add roleTeamMemberID - Rename "Everyone (Applies To All)" role to "Members" in org creation - Create "Team Members" system role during org creation - Enforce isAllowEditTitle in OrgRoleService.updateRole (silently ignores title) - Enforce isAllowEditSecurity in updateRoleRights and updateRoleSecurityModels - Add new flags to SecurityRoleDTO for frontend consumption - Extend RoleType enum with MEMBER and TEAM_MEMBER values

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