use of org.pentaho.platform.api.engine.IPentahoAclEntry in project pentaho-platform by pentaho.
the class SpringSecurityPermissionMgr method getPermissions.
public Map<IPermissionRecipient, IPermissionMask> getPermissions(final Object domainInstance) {
IAclHolder aclHolder = (IAclHolder) domainInstance;
List<IPentahoAclEntry> aclList = aclHolder.getAccessControls();
return transformEntries(aclList);
}
use of org.pentaho.platform.api.engine.IPentahoAclEntry in project pentaho-platform by pentaho.
the class PentahoAllowAllAclVoter method getEffectiveAcl.
public IPentahoAclEntry getEffectiveAcl(final IPentahoSession session, final IAclHolder holder) {
IPentahoAclEntry rtn = new PentahoAclEntry();
rtn.setMask(IPentahoAclEntry.PERM_FULL_CONTROL);
return rtn;
}
Aggregations