Creating an IAclVoter
IAclVoter Hierarchy
Before proceeding, be sure that you have read about domain object authorization in the platform. The section on domain object authorization introduces access control lists (ACLs) and the IAclVoter
interface. The Pentaho BI Platform provides an abstract class called AbstractPentahoAclVoter
that implements IAclVoter
as well as a concrete subclass called PentahoBasicAclVoter
. If you want to provide your own implementation of the IAclVoter
interface, it is recommended that you consider starting with the PentahoBasicAclVoter
. Use this class as your superclass, and override behaviors as desired.
Voter Example
Assume that you want to build your own ACL voter. The requirements are as follows:
...