Class PentahoUserOverridesVoter
- java.lang.Object
-
- org.pentaho.platform.engine.security.acls.voter.AbstractPentahoAclVoter
-
- org.pentaho.platform.engine.security.acls.voter.PentahoBasicAclVoter
-
- org.pentaho.platform.engine.security.acls.voter.PentahoUserOverridesVoter
-
- All Implemented Interfaces:
org.pentaho.platform.api.engine.IAclVoter
,org.pentaho.platform.api.engine.IPentahoInitializer
@Deprecated public class PentahoUserOverridesVoter extends PentahoBasicAclVoter
Deprecated.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:
User Id Role sally dev mgr Role Access dev Execute sales Execute and Subscribe sally Nothing - Author:
- mbatchel
-
-
Field Summary
-
Fields inherited from class org.pentaho.platform.engine.security.acls.voter.AbstractPentahoAclVoter
adminRole
-
-
Constructor Summary
Constructors Constructor Description PentahoUserOverridesVoter()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.pentaho.platform.api.engine.IAclEntry[]
getEffectiveAcls(org.pentaho.platform.api.engine.IPentahoSession session, org.pentaho.platform.api.engine.IAclHolder holder)
Deprecated.-
Methods inherited from class org.pentaho.platform.engine.security.acls.voter.PentahoBasicAclVoter
getAuthentication, getEffectiveAcl, hasAccess
-
Methods inherited from class org.pentaho.platform.engine.security.acls.voter.AbstractPentahoAclVoter
getAdminRole, init, isGranted, isPentahoAdministrator, setAdminRole
-
-
-
-
Method Detail
-
getEffectiveAcls
public org.pentaho.platform.api.engine.IAclEntry[] getEffectiveAcls(org.pentaho.platform.api.engine.IPentahoSession session, org.pentaho.platform.api.engine.IAclHolder holder)
Deprecated.- Specified by:
getEffectiveAcls
in interfaceorg.pentaho.platform.api.engine.IAclVoter
- Overrides:
getEffectiveAcls
in classPentahoBasicAclVoter
-
-