PentahoUserOverridesVoter.java | Class | Extends the PentahoBasicAclVoter class, and overrides the getEffectiveAcls method
to stipulate that if the current user occurrs in the access control list, that
whatever access controls are listed for that user, those are the only ones returned.
For example, if the user (sally) belongs to the following roles:
And the object has the following defined access controls:
Role | Access |
dev | Execute |
sales | Execute and Subscribe |
sally | Nothing |
With the standard PentahoBasicAclVoter, sally would have Execute permissions on this
object because that voter will simply aggregate all applicable access controls. |