Skip to content

v4.2.0

Choose a tag to compare

@brunocmoreira brunocmoreira released this 07 Jun 23:57
· 9 commits to main since this release

@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 403 MEMBERSHIP_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 userRoles include).

Full Changelog: v4.0.0...v4.2.0