« Previous | Next » 

Revision 00d25062


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: Id3d70116a0278014907dfa2884b98c4ba002727d
Fixes: #32841
Releases: 1.0, 1.1

  • added
  • modified
  • copied
  • renamed
  • deleted