Bug #31997

Security Context::hasRole should also work recursively; this makes <f:security.ifHasRole> work recursively as well

Added by Sebastian Kurfuerst about 10 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Should have
Category:
Security
Start date:
2011-11-22
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
No
Complexity:

Description

Security Context::getRoles() returns ALL roles, while Security Context::hasRole checks only inside the first-level roles of the token. This needs to be fixed and made consistent.

Also available in: Atom PDF