v4.2.0
@rhino-dev/rhino-nestjs 4.2.0
Added
- Group-aware auth, membership enforcement & lifecycle hooks (per-group
auth/hooks,auth.enforceGroupMembership). - Domain route groups (
{organization}.example.com) + route-group conflict validation.
Fixed
- Membership is now enforced at
/auth/login— a non-member is rejected with 403MEMBERSHIP_DENIED(token revoked, never returned) instead of authenticating and only being blocked on the first resource request. Brings NestJS to parity with the Laravel/Rails stacks. - Org-less / single-tenant apps can authenticate (guarded
userRolesinclude).
Full Changelog: v4.0.0...v4.2.0