v2.5.0 released

Deadbolt 2.5.0 is now available - you can add it as a dependency using "be.objectify" %% "deadbolt-scala" % "2.5.0".

Changelog

  • added: DynamicResourceHandler#checkPermission now has a meta parameter to provide additional information for custom checks.
  • added: The meta parameter of both DynamicResourceHandler#checkPermission and DynamicResourceHandler#isAllowed is now an Option[Any].
  • added: The package object of be.objectify.deadbolt.scala contains utilities for defining Restrict relationships.
  • added: Arbitrarily complex composite constraints can be defined - see Composite constraints.
  • added: In replace of an implicit request, actions now receive an AuthenticatedRequest containing an Option[Subject].
  • improved: All constraint logic has been centralized, ensuring consistent behavior across controller constraints, template constraints and composite constraints.
  • added: