« Previous | Next » 

Revision 024f8fc5

Parent 27f00f62

Added by Rens Admiraal over 9 years ago

[TASK] Add early returns to Security\Context::hasRole

Change the behavior of hasRole so it has an early return
when the authenticationManager is not yet authenticated
(and thus no role can be assigned to the authenticated user).

Also an earlier return on the Everyone role.

Change-Id: I164a7658b7f0fd0ad355ca5ad3dee636b926e150
Fixes: #32841
Releases: 1.0, 1.1

  • added
  • modified
  • copied
  • renamed
  • deleted