org.pentaho.platform.dataaccess.datasource.wizard.service.impl
Interface IDataAccessPermissionHandler
- All Known Implementing Classes:
- SimpleDataAccessPermissionHandler
public interface IDataAccessPermissionHandler
Implement this interface to override the permissions behavior of
data access.
This interface may be implemented and then the implementation class specified
in the data-access settings.xml file, within the
settings/dataaccess-permission-handler
- Author:
- Will Gorman (wgorman@pentaho.com)
hasDataAccessPermission
boolean hasDataAccessPermission(IPentahoSession session)
- This method returns true if the session has permission to
execute arbitrary sql from the client.
- Parameters:
session
- pentaho session
- Returns:
- true if allowed