Skip to content

Released version 3.2.8

Latest

Choose a tag to compare

@dg dg released this 18 Nov 23:28
· 34 commits to master since this release
  • Security: CookieStorage no longer lets the token from the cookie become the identity of the logged-in user unless an authenticator implementing IdentityHandler exchanges it for the real identity in wakeupIdentity(). The storage now hands over a TokenIdentity, and if it reaches User unexchanged, an InvalidStateException tells you to implement the handler. Applications using cookie storage the documented way, with wakeupIdentity() loading the user by the token, need no change.
  • Permission – isAllowed($role, $resource) without a privilege now respects a deny of a single privilege on a parent resource, even when the resource itself allows some other privilege.
  • User – when wakeupIdentity() or getGuestIdentity() throws (a database outage, say), the next call tries again instead of working with half-loaded state.