Closed RonRademaker closed 7 years ago
Doesn't this break when using a role hierarchy ?
Good point, role hierarchy would be unsupported in this setup. Do we consider that a problem?
Not worth losing it to me
Agreed, role hierarchy is pretty commonly used in projects I've worked on in the past. I'd rather keep support for it.
I've added role hierarchy support 👍
After some more consideration and reading up on things, I agree we should use the access decision manager. Closing this PR.
The dependency is pointless because all roles are already in the supplied
$token
.