Open
Description
Olivier Ailloud (Migrated from SEC-3165) said:
The method getDomainObjectInstance
in AbstractAclVoter
loops through the parameters and looks for any parameter whose +declared+ class is assignable from the processDomainObjectClass.
But when the parameter's type is an interface, this is annoying as the voter will throw an AuthorizationServiceException even if implementations are eligible for this voter.
It seems to me that it should rather be based on the +runtime+ class.
The patch seems fairly easy, I may provide it.