v2.5.0 released
over 8 years ago by Steve Chaloner
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 ameta
parameter to provide additional information for custom checks. - added: The
meta
parameter of bothDynamicResourceHandler#checkPermission
andDynamicResourceHandler#isAllowed
is now anOption[Any]
. - added: The package object of
be.objectify.deadbolt.scala
contains utilities for definingRestrict
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 anOption[Subject]
. - improved: All constraint logic has been centralized, ensuring consistent behavior across controller constraints, template constraints and composite constraints.
- added: